David Keegan avatar David Keegan committed 9e61b6d

keys in Localize.json are now sorted #139

Comments (0)

Files changed (2)

 {
-    "French.lproj/Repo.strings": "1c882f55c1bc1e7629827090aae1f4ed", 
-    "English.lproj/Projects.xib": "770fab372e314ce3a66f4c501d11d8ee", 
-    "German.lproj/MainMenu.strings": "aa69dae50fd262857497ba56606ac537", 
-    "German.lproj/FileViewer.strings": "3180f066f393da424f8f32f60384cedf", 
     "English.lproj/FileViewer.xib": "89b3ce19501369084592522616927d3e", 
     "English.lproj/MainMenu.xib": "5694c0d6ed650beedcc67cd306882d32", 
-    "German.lproj/Projects.strings": "8554bdd35568c0d598d3f5b322836067", 
-    "German.lproj/Repo.strings": "8bb4aeacd068f7b82e02806076095383", 
-    "French.lproj/MainMenu.strings": "d54b312e76454c8742206c78acb4a7e8", 
+    "English.lproj/Projects.xib": "770fab372e314ce3a66f4c501d11d8ee", 
     "English.lproj/Repo.xib": "a4a63e8d9fa77bc29977ba5ff7ae162d", 
     "French.lproj/FileViewer.strings": "3180f066f393da424f8f32f60384cedf", 
-    "French.lproj/Projects.strings": "7f3632a7668f39432d8dbf4ffb770f55"
+    "French.lproj/MainMenu.strings": "d54b312e76454c8742206c78acb4a7e8", 
+    "French.lproj/Projects.strings": "7f3632a7668f39432d8dbf4ffb770f55", 
+    "French.lproj/Repo.strings": "1c882f55c1bc1e7629827090aae1f4ed", 
+    "German.lproj/FileViewer.strings": "3180f066f393da424f8f32f60384cedf", 
+    "German.lproj/MainMenu.strings": "aa69dae50fd262857497ba56606ac537", 
+    "German.lproj/Projects.strings": "8554bdd35568c0d598d3f5b322836067", 
+    "German.lproj/Repo.strings": "8bb4aeacd068f7b82e02806076095383"
 }
                 
     #update Localize.json
     localizeData = open(localizeJson, 'w')
-    json.dump(jsonData, localizeData, indent=4)
+    json.dump(jsonData, localizeData, sort_keys=True, indent=4)
     #add newline for diffs
     localizeData.write('\n')
     localizeData.close()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.