petitboot icon indicating copy to clipboard operation
petitboot copied to clipboard

Add Vietnamese translation

Open runlevel5 opened this issue 2 years ago • 3 comments

runlevel5 avatar Oct 13 '23 06:10 runlevel5

nice one, thank you!

jk-ozlabs avatar Oct 24 '23 00:10 jk-ozlabs

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ó"

jk-ozlabs avatar Feb 09 '24 06:02 jk-ozlabs

Sorry for late reply. Yes I am good

runlevel5 avatar Mar 27 '24 22:03 runlevel5