Title: [commits] (bkirsch) [11311] Fixed path to resource lookups in resource.ini and TestCases.py.
Revision
11311
Author
bkirsch
Date
2006-08-02 11:56:43 -0700 (Wed, 02 Aug 2006)

Log Message

Fixed path to resource lookups in resource.ini and TestCases.py. The UTF-8 pathing and filenames were renamed

Modified Paths

Diff

Modified: trunk/chandler/projects/EggTranslations-Plugin/EggTranslations_Plugin.egg-info/i18n/resources.ini (11310 => 11311)

--- trunk/chandler/projects/EggTranslations-Plugin/EggTranslations_Plugin.egg-info/i18n/resources.ini	2006-08-02 17:01:55 UTC (rev 11310)
+++ trunk/chandler/projects/EggTranslations-Plugin/EggTranslations_Plugin.egg-info/i18n/resources.ini	2006-08-02 18:56:43 UTC (rev 11311)
@@ -2,26 +2,26 @@
 # EggResourceManager API with I18n file system pathing
 
 [ResourceManager-EggPluginü::all]
-txt_resource = i18n/test_dirü/resources/txt_resource.txt
-img_resource = i18n/test_dirü/resources/img_resource.txt
-dir_resource = i18n/test_dirü/resources
+txt_resource = i18n/test_dir/resources/txt_resource.txt
+img_resource = i18n/test_dir/resources/img_resource.txt
+dir_resource = i18n/test_dir/resources
 txt_message = üThis is a String value in 'all'
 i18n_keyü = ü i18n Value
 
 [ResourceManager-EggPluginü::en]
-catalog = i18n/test_dirü/locale/en/catalog.mo
-catalog_alt = i18n/test_dirü/locale/en/catalog_alt.mo
+catalog = i18n/test_dir/locale/en/catalog.mo
+catalog_alt = i18n/test_dir/locale/en/catalog_alt.mo
 
 [ResourceManager-EggPluginü::fr]
 #Override the txt_resource definition for the 'fr' locale
-txt_resource = i18n/test_dirü/locale/fr/txt_resource.txt
+txt_resource = i18n/test_dir/locale/fr/txt_resource.txt
 
 #Override the txt_message definition for the 'fr' locale
 txt_message = üThis is a String value in 'French'
 
-catalog = i18n/test_dirü/locale/fr/catalog.mo
-catalog_alt = i18n/test_dirü/locale/fr/catalog_alt.mo
+catalog = i18n/test_dir/locale/fr/catalog.mo
+catalog_alt = i18n/test_dir/locale/fr/catalog_alt.mo
 
 [ResourceManager-EggPluginü::fr_CA]
-catalog = i18n/test_dirü/locale/fr_CA/catalog.mo
-catalog_alt = i18n/test_dirü/locale/fr_CA/catalog_alt.mo
+catalog = i18n/test_dir/locale/fr_CA/catalog.mo
+catalog_alt = i18n/test_dir/locale/fr_CA/catalog_alt.mo

Modified: trunk/chandler/projects/EggTranslations-Plugin/tests/_TestCases.py (11310 => 11311)

--- trunk/chandler/projects/EggTranslations-Plugin/tests/_TestCases.py	2006-08-02 17:01:55 UTC (rev 11310)
+++ trunk/chandler/projects/EggTranslations-Plugin/tests/_TestCases.py	2006-08-02 18:56:43 UTC (rev 11311)
@@ -579,7 +579,7 @@
        by the EggTranslations API
     """
     PROJECT = u"ResourceManager-EggPlugin\u00FC"
-    INI_FILE = u"i18n/resources\u00FC.ini"
+    INI_FILE = u"i18n/resources.ini"
     ENCODING = "UTF-8"
 
     def testI18nValues(self):
@@ -612,7 +612,7 @@
 
         self.assertEquals(self.eggTranslations.getValueForKey(self.PROJECT,
                           u"catalog", 'fr'), 
-                          u"i18n/test_dir\u00FC/locale/fr/catalog.mo")
+                          u"i18n/test_dir/locale/fr/catalog.mo")
                                   
 
     def testI18nPathing(self):




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to