Skip to content

Commit

Permalink
Fix wrong i18n name
Browse files Browse the repository at this point in the history
  • Loading branch information
coslyk committed Jul 26, 2020
1 parent 39f0e41 commit 34862fd
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 19 deletions.
3 changes: 0 additions & 3 deletions appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ script:
- cp -rf ../../build/usr/* usr/
- cp usr/share/icons/io.github.coslyk.bingle.png .
- cp usr/share/applications/io.github.coslyk.bingle.desktop .
- cd usr/share/locale
- ln -s zh-CN zh_CN
- cd ../../..
- rm -rf usr/share/man
- rm -rf usr/share/doc

2 changes: 1 addition & 1 deletion po/LINGUAS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
zh-CN
zh_CN
8 changes: 2 additions & 6 deletions po/io.github.coslyk.bingle.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: io.github.coslyk.bingle\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-25 18:32+0200\n"
"POT-Creation-Date: 2020-07-26 14:47+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -38,14 +38,10 @@ msgstr ""
msgid "Save"
msgstr ""

#: src/ImageViewer.vala:43 src/ImageViewer.vala:50
#: src/ImageViewer.vala:43 src/ImageViewer.vala:50 src/ImageViewer.vala:117
msgid " - saved"
msgstr ""

#: src/ImageViewer.vala:117
msgid "- saved"
msgstr ""

#: src/MainWindow.vala:28
msgid "Online"
msgstr ""
Expand Down
Binary file removed po/zh-CN.mo
Binary file not shown.
Binary file added po/zh_CN.mo
Binary file not shown.
12 changes: 4 additions & 8 deletions po/zh-CN.po → po/zh_CN.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Language zh-CN translations for io.github.coslyk.bingle package.
# Chinese translations for io.github.coslyk.bingle package.
# Copyright (C) 2020 THE io.github.coslyk.bingle'S COPYRIGHT HOLDER
# This file is distributed under the same license as the io.github.coslyk.bingle package.
# Automatically generated, 2020.
Expand All @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: io.github.coslyk.bingle\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-25 18:32+0200\n"
"PO-Revision-Date: 2020-07-25 18:32+0200\n"
"POT-Creation-Date: 2020-07-26 14:47+0200\n"
"PO-Revision-Date: 2020-07-26 14:48+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: zh_CN\n"
Expand Down Expand Up @@ -38,14 +38,10 @@ msgstr "使用"
msgid "Save"
msgstr "保存"

#: src/ImageViewer.vala:43 src/ImageViewer.vala:50
#: src/ImageViewer.vala:43 src/ImageViewer.vala:50 src/ImageViewer.vala:117
msgid " - saved"
msgstr " - 已保存"

#: src/ImageViewer.vala:117
msgid "- saved"
msgstr "- 已保存"

#: src/MainWindow.vala:28
msgid "Online"
msgstr "在线"
Expand Down
2 changes: 1 addition & 1 deletion src/ImageViewer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ namespace Bingle {
// Set subtitle
int img_width = _full_pixbuf.width;
int img_height = _full_pixbuf.height;
headerbar.subtitle = @"$(img_width)x$(img_height)" + _("- saved");
headerbar.subtitle = @"$(img_width)x$(img_height)" + _(" - saved");
}
catch (Error e) {
warning ("%s\n", e.message);
Expand Down

0 comments on commit 34862fd

Please sign in to comment.