Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save saitoha/2917085 to your computer and use it in GitHub Desktop.
Save saitoha/2917085 to your computer and use it in GitHub Desktop.
mouseterm Japanese/French localization support
diff --git a/Japanese.lproj/Localizable.strings b/Japanese.lproj/Localizable.strings
new file mode 100644
index 0000000..02a8de8
--- /dev/null
+++ b/Japanese.lproj/Localizable.strings
@@ -0,0 +1,2 @@
+/* Send Mouse Events menu item */
+"Send Mouse Events" = "マウスイベントを送る";
diff --git a/Makefile b/Makefile
index 0cf09f5..ab7945b 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,16 @@ $(TARGET): $(OBJS)
--output-format human-readable-text --compile \
$(BUNDLE)/Contents/Resources/English.lproj/Configuration.nib \
English.lproj/Configuration.xib
+ rm -f $(BUNDLE)/Contents/Resources/Japanese.lproj/*.xib
+ ibtool --errors --warnings --notices \
+ --output-format human-readable-text --compile \
+ $(BUNDLE)/Contents/Resources/Japanese.lproj/Configuration.nib \
+ English.lproj/Configuration.xib
+ rm -f $(BUNDLE)/Contents/Resources/French.lproj/*.xib
+ ibtool --errors --warnings --notices \
+ --output-format human-readable-text --compile \
+ $(BUNDLE)/Contents/Resources/French.lproj/Configuration.nib \
+ English.lproj/Configuration.xib
all: $(TARGET)
dist: $(TARGET)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment