ttag-cli
ttag-cli copied to clipboard
`ttag translate` doesn't skip translated `msgid`s
yarn ttag translate i18n/uk.po -o i18n/uk.po
Expected:
ttag translate
prompts to translate only msgid
s with empty msgstr.
Actual:
ttag translate
prompts to translate translated msgid
s.
i18n/uk.po
msgid ""
msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Plural-Forms: nplurals = 3; plural = (n % 10 == 1 && n % 100 != 11 ? 0 : n "
"% 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/components/auth/LoginScreen/index.tsx:14
msgid "Login screen"
msgstr "Екран логіну"
#: src/components/auth/LoginScreen/index.tsx:16
msgid "Login"
msgstr "Логін"
#: src/components/document/DocumentScreen/index.tsx:31
#, javascript-format
msgid "Text document ${ documentId }"
msgstr "Текстовий документ ${ documentId }"