From 34862fdbceb0d96f7c1efad9759879515781965b Mon Sep 17 00:00:00 2001 From: YK Liu Date: Sun, 26 Jul 2020 14:50:00 +0200 Subject: [PATCH] Fix wrong i18n name --- appimage.yml | 3 --- po/LINGUAS | 2 +- po/io.github.coslyk.bingle.pot | 8 ++------ po/zh-CN.mo | Bin 723 -> 0 bytes po/zh_CN.mo | Bin 0 -> 687 bytes po/{zh-CN.po => zh_CN.po} | 12 ++++-------- src/ImageViewer.vala | 2 +- 7 files changed, 8 insertions(+), 19 deletions(-) delete mode 100644 po/zh-CN.mo create mode 100644 po/zh_CN.mo rename po/{zh-CN.po => zh_CN.po} (78%) diff --git a/appimage.yml b/appimage.yml index afe8be6..38d594c 100644 --- a/appimage.yml +++ b/appimage.yml @@ -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 diff --git a/po/LINGUAS b/po/LINGUAS index a1532d8..2c28678 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1 +1 @@ -zh-CN \ No newline at end of file +zh_CN \ No newline at end of file diff --git a/po/io.github.coslyk.bingle.pot b/po/io.github.coslyk.bingle.pot index ad4f931..65aae44 100644 --- a/po/io.github.coslyk.bingle.pot +++ b/po/io.github.coslyk.bingle.pot @@ -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 \n" "Language-Team: LANGUAGE \n" @@ -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 "" diff --git a/po/zh-CN.mo b/po/zh-CN.mo deleted file mode 100644 index 210c006e5d13a913adf6efa88c3eb3ad03ba6eb0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 723 zcmYk3&x_MQ6vxMP{T21%S!GUMbYdEjEs;Icb(IC{*0n3%WSTtF(R3yxlU=Kq3d$Y? zFDk5}Cqas^9#pVYOTn{$gQv#oO|PDOQ=|34H=n$j_uhPy`Ep?PF~P7<2T>7fKk6gO z#1GVN)KAnd)GyQ_)XX+Qb|5KoC-Mk#7Rd^_#r_;}JFd?okD)54eVEG`LiQqWBM&1t zkY>)yf?EaO75sqQgZrO~{4)|qO~QCLy~d9@%Y^Z4{F)vtop?i_VMbHF1_AlY3Qa{T zj)1Q7D2jOu2@TY`j1&(bA(e*8G+CCBkU%bGLX%6_J$VFVH3d>j)OGMRTMF1^NK&Ds zM}@LOp_^I5_Ej3SZ`chX!w9Suh*hFlH4R0;PG@1t>dK>5ZJDjWnlQcW4ApV|2t0!Eh5!Wj5XeHCC#kKI!d7FkHA;Ix`3Y zkg!GRs{p^yqveLs))jW{j}v3DrXUcSy0&YVEc5g8_iskS=lRwqUcmHy)a#6Tug0%C zUpF6)pWe-1+!^p5m;45q Cm(4{0 diff --git a/po/zh_CN.mo b/po/zh_CN.mo new file mode 100644 index 0000000000000000000000000000000000000000..425c644c8733716ea1f6a79d5378ae0bbe9c4dbe GIT binary patch literal 687 zcmYk2&x_MQ6vszhbq(r4@FM=0iwDt(X<611@le-Q7OY#>?&3|R$upfboe9Zg*Ltd= zhzKI6xQcr5QbaxI!BQywPedWH>R;iTHCP{f@?j?P=6#c|`=*`|tX;@K#7FiZ?-5hq zkZI&QatQg2Y)7WI5V8Zk7d?gEU-$spyg!28hCYfufgD42<9cN)A&1c(+Vt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