cockpit-po-plugin: Fix crash with plural forms

Declare the `pos` variable. Fixes regression introduced in commit
7f6ef51c12.

Add plural forms to German translations to exercise this code path.
This commit is contained in:
Martin Pitt 2021-01-07 08:11:22 +01:00 committed by Martin Pitt
parent 7f6ef51c12
commit e418cba057
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1\n"
#: src/index.html:20
msgid "Cockpit Starter Kit"