Git Product home page Git Product logo

atom-i18n's People

Contributors

acer54 avatar anonym0uz avatar dependabot[bot] avatar dominicus75 avatar driglu4it avatar francematt avatar greenkeeper[bot] avatar heroyt avatar jsolisu avatar juggernautjp avatar laurensbrand avatar liuderchi avatar lorenzoancora avatar nerhis avatar nolt avatar p2635 avatar polynoman avatar preco21 avatar reala10n avatar renovate-bot avatar renovate[bot] avatar sabinich avatar sashaoli avatar sitdh avatar socialmedialabs avatar stsewd avatar ujdhesa avatar umoxfo avatar vivalzar avatar winstonsung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atom-i18n's Issues

Settings tab resets the language after being reopen

After the 'Settings' tab being reopen it just resets the language back to English.
I'm using a Russian translation for Atom.

Looks like this bug only in Settings tab, because other tabs working fine and didn't reset the lang. Menu items shown on English but title still being on Russian.

Control Button 'Update to x.x.x' is Translated into 'install'

on page:

  • Settings > Packages > button: "Update to 1.8.28"
  • Settings > Install > button: "Install"

since buttons on both pages are using same html class, they are both translated into "install".
from tool tip we can know it's original value is different

pkg-update-to
screenshot from 2017-01-26 13 58 24

About page failed to translate some UI item

according to #64 by @trifirew

  1. Currently only up to date and check now would show up, checking for updates would not work for now.
  2. When page elements change (i.e. Update status changes from up to date to checking for update), translation will not show up.

translate into Japanese: settings.settings.controls (x3)

translate def/ja/settings.cson

  • title: "Packages With Keymaps Disabled" at line 134

  • title: "Reopen Project Menu Count"
    desc: "How many recent projects to show in the Reopen Project menu." at line 143,144

  • title: "Restore Previous Windows On Start" at line 148

Hungarian translation

Please help translate: .

locale code: hu
locale code table

files Required translation:

  • def/hu/about.cson
  • def/hu/context.cson
  • def/hu/menu_darwin.cson
  • def/hu/menu_linux.cson
  • def/hu/menu_win32.cson
  • def/hu/settings.cson
  • def/hu/welcome.cson

Translate into Esperanto

Please help translate: .

locale code: eo
locale code table

files Required translation:

  • def/eo/about.cson
  • def/eo/context.cson
  • def/eo/menu_darwin.cson
  • def/eo/menu_linux.cson
  • def/eo/menu_win32.cson
  • def/eo/settings.cson

Uncaught TypeError: Cannot set property 'innerHTML' of null

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Linux Mint
Thrown From: atom-i18n package 0.8.0

Stack Trace

Uncaught TypeError: Cannot set property 'innerHTML' of null

At /home/clsalberto/.atom/packages/atom-i18n/lib/welcome.coffee:22

TypeError: Cannot set property 'innerHTML' of null
    at Welcome.updateWelcome (/packages/atom-i18n/lib/welcome.coffee:22:7)

Commands

Non-Core Packages

atom-i18n 0.8.0 
atom-less 0.1.10 
atom-sass 0.4.0 
atom-save-all 0.4.1 
language-blade 0.29.0 
language-ini 1.19.0 
language-pgsql 0.2.3 
laravel 0.7.1 
minimap 4.27.1 
minimap-find-and-replace 4.5.2 
trailing-spaces 0.4.0 

Rogue "File>Reopen Project" item in menu

When using this package, an additional untranslated item appear at the right of the Help menu. This item is a duplicate of the element Reopen Project in the File menu. The translated item is still displayed in the translated File menu.

It appears in every language, once Atom has been reloaded.

If the package is disabled, the item does not appear anymore.

This rogue item should never be displayed. Maybe it's because it is automatically populated.

Failed to activate the atom-i18n package

[Enter steps to reproduce:]

  1. I believe I followed the instructions "Steps to Contribute" because I would like to contribute for the Dutch language. Did the fork, did the clone and created a branch for 'nl'.
  2. Enabled dev mode.

This is all very new to me so please bare with me if I did forget a step. If you could help me get started then I will see to it that there is a Dutch version asap.

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.3
Thrown From: atom-i18n package 0.7.0

Stack Trace

Failed to activate the atom-i18n package

At Cannot find module 'cson'

Error: Cannot find module 'cson'
    at Module._resolveFilename (module.js:455:15)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/atom-i18n/lib/main.coffee:2:8)
    at /packages/atom-i18n/lib/main.coffee:1:1)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/app.asar/src/package.js:796:27)
    at Package.module.exports.Package.activateNow (/app.asar/src/package.js:207:16)
    at /app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
    at /app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
    at /app.asar/src/package-manager.js:531:29
    at Config.module.exports.Config.transactAsync (/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/app.asar/src/package-manager.js:526:19)
    at PackageManager.module.exports.PackageManager.activate (/app.asar/src/package-manager.js:508:46)
    at /app.asar/src/atom-environment.js:812:28

Commands

Non-Core Packages

atom-i18n 0.7.0 
cson 2.0.1 
default-language 0.3.0 

Missing keys on ru locale

Travis is failing because of new options added on 6d500fc for all locales, except for ru locale.

Can we fix this or are we waiting for #50 to be merged?

p.s: Thanks for make me collaborator 😄

Translate into Russian

Файлы, требующие перевода:

  • def/ru/about.cson
  • def/ru/context.cson
  • def/ru/menu_darwin.cson
  • def/ru/menu_linux.cson
  • def/ru/menu_win32.cson
  • def/ru/settings.cson

Для получения дополнительной информации ознакомьтесь с CONTRIBUTING.md

Translate into Polish

Please help translate: Polish.

locale code: pl
locale code table

files Required translation:

  • def/pl/about.cson
  • def/pl/context.cson
  • def/pl/menu_darwin.cson
  • def/pl/menu_linux.cson
  • def/pl/menu_win32.cson
  • def/pl/settings.cson
  • def/pl/welcome.cson

Catalan translation

Please help translate: Catalan.

locale code: ca
locale code table

files Required translation:

  • def/ca/about.cson
  • def/ca/context.cson
  • def/ca/menu_darwin.cson
  • def/ca/menu_linux.cson
  • def/ca/menu_win32.cson
  • def/ca/settings.cson
  • def/ca/welcome.cson

Translate into German

files require translation:

  • def/de/about.cson
  • def/de/context.cson
  • def/de/menu_darwin.cson
  • def/de/menu_linux.cson
  • def/de/menu_win32.cson
  • def/de/settings.cson

for more info please checkout CONTRIBUTING.md

update: solved by #45

Contributing a sq translation for Atom

Please help translate: .

locale code: sq

files Required translation:

  • def/sq/about.cson
  • def/sq/context.cson
  • def/sq/menu_darwin.cson
  • def/sq/menu_linux.cson
  • def/sq/menu_win32.cson
  • def/sq/settings.cson
  • def/sq/welcome.cson

Translate into Azerbaijani

Files require translation:

  • def/az/about.cson
  • def/az/context.cson
  • def/az/menu_darwin.cson
  • def/az/menu_linux.cson
  • def/az/menu_win32.cson
  • def/az/settings.cson

For more info please checkout CONTRIBUTING.md

Translate into Khmer

Please help translate: .

locale code: km
locale code table

files Required translation:

  • def/km/about.cson
  • def/km/context.cson
  • def/km/menu_darwin.cson
  • def/km/menu_linux.cson
  • def/km/menu_win32.cson
  • def/km/settings.cson

Provide a way for plugins to be translated

I'm really enthusiastic about this plugin, as I've been seeking for a way to translate Atom. The only thing is I don't like having half of the interface translated and I, like most Atom users, use plugins. I don't know if it's possible, but I'd like a way to translate plugins. If it's not possible, please leave this open as a reminder.

It could take the form of translate/ folder which contains translations and an interpolation API.

Translate to Thai

Please help translate: .

locale code: th
locale code table

files Required translation:

  • def/th/about.cson
  • def/th/context.cson
  • def/th/menu_darwin.cson
  • def/th/menu_linux.cson
  • def/th/menu_win32.cson
  • def/th/settings.cson
  • def/th/welcome.cson

I'm translating into Italian

Please help translate: .

locale code: it
locale code table

files Required translation:

  • def/it/about.cson
  • def/it/context.cson
  • def/it/menu_darwin.cson
  • def/it/menu_linux.cson
  • def/it/menu_win32.cson
  • def/it/settings.cson
  • def/it/welcome.cson

Translate into Polish

files Required translation:

  • def/pl/about.cson
  • def/pl/context.cson
  • def/pl/menu_darwin.cson
  • def/pl/menu_linux.cson
  • def/pl/menu_win32.cson
  • def/pl/settings.cson

Translate to Ukrainian (Skrypnykivka)

Please help translate:

locale code: uk (ukr: Українська (скрипниківка))

files Required translation:

  • def/uk/about.cson
  • def/uk/context.cson
  • def/uk/menu_darwin.cson
  • def/uk/menu_linux.cson
  • def/uk/menu_win32.cson
  • def/uk/settings.cson
  • def/uk/welcome.cson

I'll start to translate atom in my spare time but you're more than welcome to join. Just take one and let others know which file you'll care of.

Conflict with Atom Stylesheet

Atom stylesheet styles.less doesn't work in translated page (i.e. Settings).

Reproduction

Try to change font of Settings UI with styles.less

.settings-view {
  font-family: "Trebuchet MS";
}

Original font:

image

After changing (without atom-i18n installed)

image

After changing (with atom-i18n installed and enabled)

image
which does not appear to change from original font.

Uncaught TypeError: Cannot set property 'textContent' of null

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.1 x64
Electron: 1.6.15
OS: Debian GNU/Linux
Thrown From: atom-i18n package 0.13.2

Stack Trace

Uncaught TypeError: Cannot set property 'textContent' of null

At /home/samiel/.atom/packages/atom-i18n/lib/welcome.js:47

TypeError: Cannot set property 'textContent' of null
    at Function.updateWelcome (/packages/atom-i18n/lib/welcome.js:47:50)
    at setTimeout (/packages/atom-i18n/lib/welcome.js:59:38)

Commands

Non-Core Packages

atom-i18n 0.13.2 

Translate into Portuguese(Brazil)

files require translation:

  • def/pt-br/about.cson
  • def/pt-br/context.cson
  • def/pt-br/menu_darwin.cson
  • def/pt-br/menu_linux.cson
  • def/pt-br/menu_win32.cson
  • def/pt-br/settings.cson

for more info please checkout CONTRIBUTING.md

Translate into Arabic

files require translation:

  • def/ar/about.cson
  • def/ar/context.cson
  • def/ar/menu_darwin.cson
  • def/ar/menu_linux.cson
  • def/ar/menu_win32.cson
  • def/ar/settings.cson

for more info please checkout CONTRIBUTING.md

tr - Turkish Translation

locale code: tr

files Required translation:

  • def/tr/about.cson
  • def/tr/context.cson
  • def/tr/menu_darwin.cson
  • def/tr/menu_linux.cson
  • def/tr/menu_win32.cson
  • def/tr/settings.cson
  • def/tr/welcome.cson

Tranlating 'Available Updates' heading failed in v1.16

DOM structure of 'Available Updates' heading has changed in v1.16 (currently in beta)

Requirement

  • translate while avoid exception in 1.16-beta while supports old DOM structure in 1.15 (#66)
  • after 1.16 is stable and several versions, deprecate 1.15 support

New Options in Settings Tab for v1.15 are not translated (x7)

New UI elements up to Atom v1.15 (currently beta) are added to settings page.

New i18n Items are added according to this commit:

settings.cson

  • core.closeDeletedFileTabs (x2)
  • desc of core.restorePreviousWindowsOnStart (x1)
  • core.useProxySettingsWhenCallingApm (x2)
  • editor.showCursorOnSelection (x2)

progress

  • de/settings.cson (#100)
  • es/settings.cson (#48)
  • ja/settings.cson (#113)
  • ko/settings.cson (#49)
  • zh-cn/settings.cson (#54)

Support for user-defined CSON translation files

Recommended to support user-defined CSON translation file recommendations to support user-defined CSON translation file
Commonly used libraries, no longer support the translation, you want to customize the CSON path, the introduction of their own translation files
Of course, now I just change the CSON file in Package, a little bit of gimmick dirty.

建议支持用户自定义CSON翻译文件 建议支持用户自定义CSON翻译文件.

常用的库,不再已经支持的翻译中,想要自定义CSON路径,引入自己的翻译文件.

当然,现在我是直接改的Package中 CSON 文件,手法有点dirty.

Keep CSON file consistent of all locales

Currently not all cson file has same number of key-value pairs.

Thanks to Travis CI service we can automatically validate cson files

  • some cson file should update key-value pairs
  • for each added key-value pair, we should create new issue of translation

Translate into Portuguese(Brazil)

Please help translate: .

locale code: Portuguese(Brazil)
pt-br

files Required translation:

  • def/pt-br/about.cson
  • def/pt-br/context.cson
  • def/pt-br/menu_darwin.cson
  • def/pt-br/menu_linux.cson
  • def/pt-br/menu_win32.cson
  • def/pt-br/settings.cson
  • def/pt-br/welcome.cson

Translate into Dutch

files require translation:

  • def/nl/about.cson #73
  • def/nl/context.cson #73
  • def/nl/menu_darwin.cson #73
  • def/nl/menu_linux.cson
  • def/nl/menu_win32.cson
  • def/nl/settings.cson #73
  • def/nl/welcome.cson

for more info please checkout CONTRIBUTING.md

Translate into Hindi

files require translation:

  • def/hi/about.cson
  • def/hi/context.cson
  • def/hi/menu_darwin.cson
  • def/hi/menu_linux.cson
  • def/hi/menu_win32.cson
  • def/hi/settings.cson

for more info please checkout CONTRIBUTING.md

Cant preview development package

Hi,

I cant preview mine development translation. I've follow the guide "How to Preview Your Translation in Development?" but while I link mine fork folder with repository and reload Atom. I don't see mine lanugage in atom-i18n settings.
zrzut ekranu z 2017-07-05 14-48-40

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.