i18n: Fixed location of msgctxt in .pot files
authorJerome St-Louis <jerome@ecere.com>
Mon, 20 Feb 2012 13:12:15 +0000 (22:12 +0900)
committerJerome St-Louis <jerome@ecere.com>
Mon, 20 Feb 2012 13:12:15 +0000 (22:12 +0900)
compiler/bootstrap/ecs/bootstrap/ecs.c
compiler/ecs/ecs.ec
compiler/ecs/locale/ecs.pot
ecere/locale/ecere.pot
eda/libeda/locale/EDA.pot
ide/locale/ide.pot

index fcb4afa..588f1a6 100644 (file)
@@ -2599,15 +2599,15 @@ __ecereMethod___ecereNameSpace__ecere__sys__File_Printf(potFile, __ecereProp___e
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "\n");
 }
 }
-((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "msgid \"");
-((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, pair.string);
-((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "\"\n");
 if(pair.context)
 {
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "msgctxt \"");
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, pair.context);
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "\"\n");
 }
+((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "msgid \"");
+((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, pair.string);
+((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "\"\n");
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "msgstr \"");
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, pair.string);
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "\"\n");
index 925fbb6..906da3c 100644 (file)
@@ -1942,11 +1942,11 @@ class SymbolgenApp : Application
                         potFile.Puts("\n");
                      }
 
-                     potFile.Puts("msgid \""); potFile.Puts(pair.string); potFile.Puts("\"\n");
                      if(pair.context)
                      {
                         potFile.Puts("msgctxt \""); potFile.Puts(pair.context); potFile.Puts("\"\n");
                      }
+                     potFile.Puts("msgid \""); potFile.Puts(pair.string); potFile.Puts("\"\n");
                      potFile.Puts("msgstr \""); potFile.Puts(pair.string); potFile.Puts("\"\n");
                      potFile.Puts("\n");
                   }
index dd1a51c..653858d 100644 (file)
@@ -9,6 +9,7 @@ msgstr
 "Content-Type: text/plain; charset=iso-8859-1\n"
 "Content-Transfer-Encoding: 8bit\n"
 "X-Poedit-Basepath: ..\\\n"
+
 #: .\ecs.ec:1704
 msgid "Syntax:\n   ecs [-t <target platform>] <input>[, <input>]* -o <output>\n"
 msgstr "Syntax:\n   ecs [-t <target platform>] <input>[, <input>]* -o <output>\n"
index 046456b..6d6c5f4 100644 (file)
@@ -311,8 +311,8 @@ msgid "Exp"
 msgstr "Exp"
 
 #: .\src\gui\controls\CalendarControl.ec:10
-msgid "F"
 msgctxt "Friday"
+msgid "F"
 msgstr "F"
 
 #: .\src\sys\Date.ec:42
@@ -463,8 +463,8 @@ msgid "Look in:"
 msgstr "Look in:"
 
 #: .\src\gui\controls\CalendarControl.ec:9
-msgid "M"
 msgctxt "Monday"
+msgid "M"
 msgstr "M"
 
 #: .\src\sys\Date.ec:42
@@ -485,13 +485,13 @@ msgid "Maximize"
 msgstr "Maximize"
 
 #: .\src\sys\Date.ec:33
-msgid "May"
 msgctxt "LongMonthNames"
+msgid "May"
 msgstr "May"
 
 #: .\src\sys\Date.ec:42
-msgid "May"
 msgctxt "ShortMonthNames"
+msgid "May"
 msgstr "May"
 
 #: .\src\sys\System.ec:105
@@ -619,13 +619,13 @@ msgid "Restore"
 msgstr "Restore"
 
 #: .\src\gui\controls\CalendarControl.ec:11
-msgid "S"
 msgctxt "Saturday"
+msgid "S"
 msgstr "S"
 
 #: .\src\gui\controls\CalendarControl.ec:9
-msgid "S"
 msgctxt "Sunday"
+msgid "S"
 msgstr "S"
 
 #: .\src\sys\Date.ec:39
@@ -758,13 +758,13 @@ msgid "System"
 msgstr "System"
 
 #: .\src\gui\controls\CalendarControl.ec:10
-msgid "T"
 msgctxt "Thursday"
+msgid "T"
 msgstr "T"
 
 #: .\src\gui\controls\CalendarControl.ec:9
-msgid "T"
 msgctxt "Tuesday"
+msgid "T"
 msgstr "T"
 
 #: .\src\gui\skins\TVisionSkin.ec:37
@@ -810,8 +810,8 @@ msgid "Verdana"
 msgstr "Verdana"
 
 #: .\src\gui\controls\CalendarControl.ec:9
-msgid "W"
 msgctxt "Wednesday"
+msgid "W"
 msgstr "W"
 
 #: .\src\sys\Date.ec:38
index 7cf9435..dd3ba4f 100644 (file)
@@ -1,3 +1,15 @@
+msgid ""
+msgstr 
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: ..\\\n"
+
 #: .\src\ers.ec:537
 msgid "All files"
 msgstr "All files"
index b6af6f4..70808fe 100644 (file)
@@ -1302,8 +1302,8 @@ msgid "Profiling Data"
 msgstr "Profiling Data"
 
 #: .\src\ide.ec:609
-msgid "Project"
 msgctxt "Menu"
+msgid "Project"
 msgstr "Project"
 
 #: .\src\dialogs\GlobalSettingsDialog.ec:969