open-power / petitboot

GNU General Public License v2.0
212 stars 56 forks source link

Add Vietnamese translation #105

Open runlevel5 opened 11 months ago

jk-ozlabs commented 11 months ago

nice one, thank you!

jk-ozlabs commented 7 months ago

I get this from a build:

vi.po:6: nplurals = 1...
vi.po:99: ...but some messages have 2 plural forms
vi.po:591: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same
/usr/bin/msgfmt: found 2 fatal errors

Are you okay with the following fix?

diff --git a/po/vi.po b/po/vi.po
index e646961..5ae5aa8 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -14,7 +14,7 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"

 msgid "Running boot hooks"
 msgstr "Đang chạy các móc nối khởi động"
@@ -588,7 +588,7 @@ msgstr " MAC:        %s"

 #, c-format
 msgid " IP Address: %s"
-msgstr "Địa chỉ IP: %S"
+msgstr "Địa chỉ IP: %s"

 msgid "none"
 msgstr "không có"
runlevel5 commented 6 months ago

Sorry for late reply. Yes I am good