aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-06-12 15:41:41 +0000
committerrowanbeentje <rowan@beent.je>2010-06-12 15:41:41 +0000
commit2fa13f3ded3449d0a4ddd0357ca42d6b075d07a8 (patch)
treefacee747c4e8beb17a8ee7edbc551d3758f3d568
parent1c89992b2af18acb457819b94f50fee247620d28 (diff)
downloadsequelpro-2fa13f3ded3449d0a4ddd0357ca42d6b075d07a8.tar.gz
sequelpro-2fa13f3ded3449d0a4ddd0357ca42d6b075d07a8.tar.bz2
sequelpro-2fa13f3ded3449d0a4ddd0357ca42d6b075d07a8.zip
- Update the nib localisation postprocessor to output strings files in the original format they were read using
- Convert the .strings files to UTF16
-rw-r--r--Resources/English.lproj/AboutPanel.stringsbin456 -> 914 bytes
-rw-r--r--Resources/English.lproj/ConnectionErrorDialog.stringsbin894 -> 1790 bytes
-rw-r--r--Resources/English.lproj/ConnectionView.stringsbin13560 -> 27074 bytes
-rw-r--r--Resources/English.lproj/Console.stringsbin2317 -> 4636 bytes
-rw-r--r--Resources/English.lproj/ContentFilterManager.stringsbin5430 -> 10682 bytes
-rw-r--r--Resources/English.lproj/ContentPaginationView.stringsbin696 -> 1394 bytes
-rw-r--r--Resources/English.lproj/DBView.stringsbin66215 -> 131916 bytes
-rw-r--r--Resources/English.lproj/DataMigrationDialog.stringsbin7759 -> 15340 bytes
-rw-r--r--Resources/English.lproj/DatabaseProcessList.stringsbin4446 -> 8882 bytes
-rw-r--r--Resources/English.lproj/DatabaseServerVariables.stringsbin1325 -> 2652 bytes
-rw-r--r--Resources/English.lproj/EncodingPopupView.stringsbin457 -> 916 bytes
-rw-r--r--Resources/English.lproj/ExportDialog.stringsbin10612 -> 21202 bytes
-rw-r--r--Resources/English.lproj/FieldEditorSheet.stringsbin1824 -> 3650 bytes
-rw-r--r--Resources/English.lproj/ImportAccessory.stringsbin3440 -> 6882 bytes
-rw-r--r--Resources/English.lproj/MainMenu.stringsbin18155 -> 36648 bytes
-rw-r--r--Resources/English.lproj/MainWindow.stringsbin82 -> 166 bytes
-rw-r--r--Resources/English.lproj/Navigator.stringsbin1377 -> 2720 bytes
-rw-r--r--Resources/English.lproj/Preferences.stringsbin22617 -> 45164 bytes
-rw-r--r--Resources/English.lproj/PrintAccessory.stringsbin119 -> 240 bytes
-rw-r--r--Resources/English.lproj/ProgressIndicatorLayer.stringsbin357 -> 716 bytes
-rw-r--r--Resources/English.lproj/QueryFavoriteManager.stringsbin15363 -> 30014 bytes
-rw-r--r--Resources/English.lproj/SSHQuestionDialog.stringsbin840 -> 1682 bytes
-rw-r--r--Resources/English.lproj/SaveSPFAccessory.stringsbin1818 -> 3638 bytes
-rw-r--r--Resources/English.lproj/UserManagerView.stringsbin7471 -> 14944 bytes
-rw-r--r--Source/xibLocalizationPostprocessor.m2
25 files changed, 1 insertions, 1 deletions
diff --git a/Resources/English.lproj/AboutPanel.strings b/Resources/English.lproj/AboutPanel.strings
index c54d1df0..f054ebc4 100644
--- a/Resources/English.lproj/AboutPanel.strings
+++ b/Resources/English.lproj/AboutPanel.strings
Binary files differ
diff --git a/Resources/English.lproj/ConnectionErrorDialog.strings b/Resources/English.lproj/ConnectionErrorDialog.strings
index d29c36a3..c18da448 100644
--- a/Resources/English.lproj/ConnectionErrorDialog.strings
+++ b/Resources/English.lproj/ConnectionErrorDialog.strings
Binary files differ
diff --git a/Resources/English.lproj/ConnectionView.strings b/Resources/English.lproj/ConnectionView.strings
index ec54b3fd..ef71e217 100644
--- a/Resources/English.lproj/ConnectionView.strings
+++ b/Resources/English.lproj/ConnectionView.strings
Binary files differ
diff --git a/Resources/English.lproj/Console.strings b/Resources/English.lproj/Console.strings
index fbb92435..6dccb282 100644
--- a/Resources/English.lproj/Console.strings
+++ b/Resources/English.lproj/Console.strings
Binary files differ
diff --git a/Resources/English.lproj/ContentFilterManager.strings b/Resources/English.lproj/ContentFilterManager.strings
index 9ca79b4b..00ca2d92 100644
--- a/Resources/English.lproj/ContentFilterManager.strings
+++ b/Resources/English.lproj/ContentFilterManager.strings
Binary files differ
diff --git a/Resources/English.lproj/ContentPaginationView.strings b/Resources/English.lproj/ContentPaginationView.strings
index b07a5318..5dedf99c 100644
--- a/Resources/English.lproj/ContentPaginationView.strings
+++ b/Resources/English.lproj/ContentPaginationView.strings
Binary files differ
diff --git a/Resources/English.lproj/DBView.strings b/Resources/English.lproj/DBView.strings
index 03e730c2..fb029199 100644
--- a/Resources/English.lproj/DBView.strings
+++ b/Resources/English.lproj/DBView.strings
Binary files differ
diff --git a/Resources/English.lproj/DataMigrationDialog.strings b/Resources/English.lproj/DataMigrationDialog.strings
index 2e2bfc79..89aa301d 100644
--- a/Resources/English.lproj/DataMigrationDialog.strings
+++ b/Resources/English.lproj/DataMigrationDialog.strings
Binary files differ
diff --git a/Resources/English.lproj/DatabaseProcessList.strings b/Resources/English.lproj/DatabaseProcessList.strings
index d1027e9a..f5a5ed40 100644
--- a/Resources/English.lproj/DatabaseProcessList.strings
+++ b/Resources/English.lproj/DatabaseProcessList.strings
Binary files differ
diff --git a/Resources/English.lproj/DatabaseServerVariables.strings b/Resources/English.lproj/DatabaseServerVariables.strings
index 06a6f175..98a6fb51 100644
--- a/Resources/English.lproj/DatabaseServerVariables.strings
+++ b/Resources/English.lproj/DatabaseServerVariables.strings
Binary files differ
diff --git a/Resources/English.lproj/EncodingPopupView.strings b/Resources/English.lproj/EncodingPopupView.strings
index a030540a..ee98fe17 100644
--- a/Resources/English.lproj/EncodingPopupView.strings
+++ b/Resources/English.lproj/EncodingPopupView.strings
Binary files differ
diff --git a/Resources/English.lproj/ExportDialog.strings b/Resources/English.lproj/ExportDialog.strings
index c9cc93f2..60db86a4 100644
--- a/Resources/English.lproj/ExportDialog.strings
+++ b/Resources/English.lproj/ExportDialog.strings
Binary files differ
diff --git a/Resources/English.lproj/FieldEditorSheet.strings b/Resources/English.lproj/FieldEditorSheet.strings
index 2e4b0268..0c7ad875 100644
--- a/Resources/English.lproj/FieldEditorSheet.strings
+++ b/Resources/English.lproj/FieldEditorSheet.strings
Binary files differ
diff --git a/Resources/English.lproj/ImportAccessory.strings b/Resources/English.lproj/ImportAccessory.strings
index c692f947..06e341e9 100644
--- a/Resources/English.lproj/ImportAccessory.strings
+++ b/Resources/English.lproj/ImportAccessory.strings
Binary files differ
diff --git a/Resources/English.lproj/MainMenu.strings b/Resources/English.lproj/MainMenu.strings
index 938585f7..3ac87470 100644
--- a/Resources/English.lproj/MainMenu.strings
+++ b/Resources/English.lproj/MainMenu.strings
Binary files differ
diff --git a/Resources/English.lproj/MainWindow.strings b/Resources/English.lproj/MainWindow.strings
index a7aa769e..1191d0d2 100644
--- a/Resources/English.lproj/MainWindow.strings
+++ b/Resources/English.lproj/MainWindow.strings
Binary files differ
diff --git a/Resources/English.lproj/Navigator.strings b/Resources/English.lproj/Navigator.strings
index 03ea6c14..4ba3c740 100644
--- a/Resources/English.lproj/Navigator.strings
+++ b/Resources/English.lproj/Navigator.strings
Binary files differ
diff --git a/Resources/English.lproj/Preferences.strings b/Resources/English.lproj/Preferences.strings
index 3d44bb02..7c4c53ff 100644
--- a/Resources/English.lproj/Preferences.strings
+++ b/Resources/English.lproj/Preferences.strings
Binary files differ
diff --git a/Resources/English.lproj/PrintAccessory.strings b/Resources/English.lproj/PrintAccessory.strings
index d57c5540..bb08702d 100644
--- a/Resources/English.lproj/PrintAccessory.strings
+++ b/Resources/English.lproj/PrintAccessory.strings
Binary files differ
diff --git a/Resources/English.lproj/ProgressIndicatorLayer.strings b/Resources/English.lproj/ProgressIndicatorLayer.strings
index 398368fa..a7df86c9 100644
--- a/Resources/English.lproj/ProgressIndicatorLayer.strings
+++ b/Resources/English.lproj/ProgressIndicatorLayer.strings
Binary files differ
diff --git a/Resources/English.lproj/QueryFavoriteManager.strings b/Resources/English.lproj/QueryFavoriteManager.strings
index 81293def..aa062ee2 100644
--- a/Resources/English.lproj/QueryFavoriteManager.strings
+++ b/Resources/English.lproj/QueryFavoriteManager.strings
Binary files differ
diff --git a/Resources/English.lproj/SSHQuestionDialog.strings b/Resources/English.lproj/SSHQuestionDialog.strings
index fb876b5f..68c90c89 100644
--- a/Resources/English.lproj/SSHQuestionDialog.strings
+++ b/Resources/English.lproj/SSHQuestionDialog.strings
Binary files differ
diff --git a/Resources/English.lproj/SaveSPFAccessory.strings b/Resources/English.lproj/SaveSPFAccessory.strings
index 4782425d..9265656d 100644
--- a/Resources/English.lproj/SaveSPFAccessory.strings
+++ b/Resources/English.lproj/SaveSPFAccessory.strings
Binary files differ
diff --git a/Resources/English.lproj/UserManagerView.strings b/Resources/English.lproj/UserManagerView.strings
index 80d213e3..72deec21 100644
--- a/Resources/English.lproj/UserManagerView.strings
+++ b/Resources/English.lproj/UserManagerView.strings
Binary files differ
diff --git a/Source/xibLocalizationPostprocessor.m b/Source/xibLocalizationPostprocessor.m
index 591e92b7..a6379aa7 100644
--- a/Source/xibLocalizationPostprocessor.m
+++ b/Source/xibLocalizationPostprocessor.m
@@ -54,7 +54,7 @@ int main(int argc, const char *argv[])
NSLog(@"Warning: skipped garbage input line %d, contents: \"%@\"", lineCount, line);
}
- if (outputStrings.length && ![outputStrings writeToFile:[NSString stringWithUTF8String:argv[2]] atomically:NO encoding:NSUTF8StringEncoding error:&error]) {
+ if (outputStrings.length && ![outputStrings writeToFile:[NSString stringWithUTF8String:argv[2]] atomically:NO encoding:usedEncoding error:&error]) {
fprintf(stderr, "Error writing %s: %s\n", argv[2], error.localizedDescription.UTF8String);
exit (-1);
}