1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-02 14:47:41 +03:00

Rearrange i18n Resource files into a directory

The "app/src/processing/app" directory became mess because there are
a lot of "Resources_*.po" and "Resources_*.properties" files for the
internationalization.

Moved the resource related files into a directory "i18n" under the
"app/src/processing/app" directory.

This is for developers only. No feature changed.
This commit is contained in:
Shigeru KANEMOTO
2013-01-18 21:11:29 +09:00
parent 44efa7fefe
commit aca0c87f38
87 changed files with 2 additions and 2 deletions
app/src/processing/app
I18n.java
i18n
Resources_an.poResources_an.propertiesResources_ar.poResources_ar.propertiesResources_bg.poResources_bg.propertiesResources_ca.poResources_ca.propertiesResources_cs_cz.poResources_cs_cz.propertiesResources_da.poResources_da.propertiesResources_de.poResources_de.propertiesResources_el.poResources_el.propertiesResources_en.poResources_en.propertiesResources_es.poResources_es.propertiesResources_et.poResources_et.propertiesResources_fa.poResources_fa.propertiesResources_fr.poResources_fr.propertiesResources_fr_ca.poResources_fr_ca.propertiesResources_gl.poResources_gl.propertiesResources_hi.poResources_hi.propertiesResources_hr_hr.poResources_hr_hr.propertiesResources_hu.poResources_hu.propertiesResources_id.poResources_id.propertiesResources_it.poResources_it.propertiesResources_iw.poResources_iw.propertiesResources_ja.poResources_ja.propertiesResources_ka_ge.poResources_ka_ge.propertiesResources_ko.poResources_ko.propertiesResources_lt.poResources_lt.propertiesResources_lv.poResources_lv.propertiesResources_mr.poResources_mr.propertiesResources_nb_no.poResources_nb_no.propertiesResources_nl.poResources_nl.propertiesResources_no_nb.poResources_no_nb.propertiesResources_pl.poResources_pl.propertiesResources_pt_br.poResources_pt_br.propertiesResources_pt_pt.poResources_pt_pt.propertiesResources_ro.poResources_ro.propertiesResources_ru.poResources_ru.propertiesResources_sl.poResources_sl.propertiesResources_ta.poResources_ta.propertiesResources_tl.poResources_tl.propertiesResources_tr.poResources_tr.propertiesResources_uk.poResources_uk.propertiesResources_zh_cn.poResources_zh_cn.propertiesResources_zh_tw.poResources_zh_tw.propertiesi18n_update.pyi18n_update.sh

@ -35,7 +35,7 @@ public class I18n {
if (language != null && language.trim().length() > 0) { if (language != null && language.trim().length() > 0) {
Locale.setDefault(new Locale(language)); Locale.setDefault(new Locale(language));
} }
i18n = ResourceBundle.getBundle("processing.app.Resources", Locale.getDefault()); i18n = ResourceBundle.getBundle("processing.app.i18n.Resources", Locale.getDefault());
PROMPT_YES = _("Yes"); PROMPT_YES = _("Yes");
PROMPT_NO = _("No"); PROMPT_NO = _("No");

@ -18,7 +18,7 @@ trap "rm -f '$catalog' '$files'" 0 1 2 15
# Generate the new text catalog without the already translated texts. # Generate the new text catalog without the already translated texts.
# The 'merge existing' option for xgetext does not work propery for our purpose. # The 'merge existing' option for xgetext does not work propery for our purpose.
find . -name '*.java' -print > "$files" find .. -name '*.java' -print > "$files"
xgettext -L Java --from-code=utf-8 -k_ --output="$catalog" --files-from="$files" xgettext -L Java --from-code=utf-8 -k_ --output="$catalog" --files-from="$files"
# Then, merge with already translated texts. # Then, merge with already translated texts.