Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sgk/Arduino
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mactkg/ArduinoIntl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: i18n
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 27 files changed
  • 1 contributor

Commits on Oct 25, 2011

  1. UI i18n and the Japanese text catalog.

    Wrapped the every string literals with _(...) function.
    The _() function resides in "app/src/processing/app/I18n.java",
    which translates the UI texts using "Resources_XX.properties" file
    where XX is the locale code.
    
    I provided the properties file for the ja (Japanese) locale.
    I created this file using "xgettext" and "msgcat" commands.
    "i18n_update.{py,sh}" files are the tool I used to do that.
    
    Change in "app/build.xml" is to include the properties files
    in jar file.
    Shigeru KANEMOTO committed Oct 25, 2011
    Configuration menu
    Copy the full SHA
    50920be View commit details
    Browse the repository at this point in the history
  2. Allow new language catalog other than Japanese.

    "i18n_update.sh" scans all .java files to extract string literals
    wrapped by _(...) function and merge already translated texts from
    *.po files, then convert to *.properties files.
    
    "i18n_update.sh" uses "i18n_update.py". You have to install python
    interpreter to use it.
    Shigeru KANEMOTO committed Oct 25, 2011
    Configuration menu
    Copy the full SHA
    89cd73e View commit details
    Browse the repository at this point in the history
Loading