edje: add po file support in edc translation.

Summary:
   Implementation to support .po files in edc for translation

Test Plan:
   Test Code to test this implementation is done as part of efl/src/examples/edje/edje-text.c and efl/src/examples/edje/text.edc
   edje_cc -md . text.edc && gcc -o edje-text edje-text.c `pkg-config --libs --cflags ecore-evas edje evas ecore eo`
   ./edje-text

   1) Click On the text "Click here"
      The language gets changed.

Reviewers: shilpasingh, cedric

Reviewed By: shilpasingh, cedric

Subscribers: cedric, rajeshps, govi, poornima.srinivasan

Differential Revision: https://phab.enlightenment.org/D2573

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
katpavalli 2015-06-11 10:40:32 +02:00 committed by Cedric BAIL
parent 765cd4801c
commit b6a80dea32
5 changed files with 31 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,11 @@
msgid "LOADING"
msgstr "Loading..."
msgid "LANG"
msgstr "Language English"
msgid "SYSTEM LANGUAGE"
msgstr "System Language"
msgid "CHANGED"
msgstr "Changed"

View File

@ -0,0 +1,11 @@
msgid "LOADING"
msgstr "लोड हो रहा है..."
msgid "LANG"
msgstr "भाषा हिन्दी"
msgid "SYSTEM LANGUAGE"
msgstr "सिस्टम भाषा"
msgid "CHANGED"
msgstr "बदल"

View File

@ -21,15 +21,15 @@ collections {
translation {
file {
locale: en_IN;
source: domain_name.mo; /* Can be either .po file or .mo file */
source: domain_name.po; /* Can be either .po file or .mo file*/
}
file {
locale: hi_IN;
source: domain_name.mo;
source: domain_name.po;
}
file {
locale: ta_IN;
source: domain_name.mo;
source: domain_name.po;
}
}
styles {
@ -144,11 +144,11 @@ collections {
translation {
file {
locale: en_IN;
source: domain_name.mo;
source: domain_name.po;
}
file {
locale: hi_IN;
source: domain_name.mo;
source: domain_name.po;
}
file {
locale: ta_IN;
@ -267,11 +267,11 @@ collections {
translation {
file {
locale: en_IN;
source: domain_name.mo;
source: domain_name.po;
}
file {
locale: hi_IN;
source: domain_name.mo;
source: domain_name.po;
}
file {
locale: ta_IN;
@ -390,11 +390,11 @@ collections {
translation {
file {
locale: en_IN;
source: domain_name.mo;
source: domain_name.po;
}
file {
locale: hi_IN;
source: domain_name.mo;
source: domain_name.po;
}
file {
locale: ta_IN;