diff --git a/po/locale/es/LC_MESSAGES/furnace.mo b/po/locale/es/LC_MESSAGES/furnace.mo index 4cf6cbb0e..f0c6491a0 100644 Binary files a/po/locale/es/LC_MESSAGES/furnace.mo and b/po/locale/es/LC_MESSAGES/furnace.mo differ diff --git a/po/locale/pl/LC_MESSAGES/furnace.mo b/po/locale/pl/LC_MESSAGES/furnace.mo index 7290aa248..0fd1e3835 100644 Binary files a/po/locale/pl/LC_MESSAGES/furnace.mo and b/po/locale/pl/LC_MESSAGES/furnace.mo differ diff --git a/po/locale/pt_BR/LC_MESSAGES/furnace.mo b/po/locale/pt_BR/LC_MESSAGES/furnace.mo index e6a48eed7..6519db130 100644 Binary files a/po/locale/pt_BR/LC_MESSAGES/furnace.mo and b/po/locale/pt_BR/LC_MESSAGES/furnace.mo differ diff --git a/po/locale/ru/LC_MESSAGES/furnace.mo b/po/locale/ru/LC_MESSAGES/furnace.mo index a13a62644..676df6195 100644 Binary files a/po/locale/ru/LC_MESSAGES/furnace.mo and b/po/locale/ru/LC_MESSAGES/furnace.mo differ diff --git a/po/locale/sv/LC_MESSAGES/furnace.mo b/po/locale/sv/LC_MESSAGES/furnace.mo index ac0ae7c64..1af698305 100644 Binary files a/po/locale/sv/LC_MESSAGES/furnace.mo and b/po/locale/sv/LC_MESSAGES/furnace.mo differ diff --git a/po/pl.po b/po/pl.po index 39323cad6..998864f72 100644 --- a/po/pl.po +++ b/po/pl.po @@ -4924,9 +4924,9 @@ msgstr "To jest kolejny test systemu tłumaczeń." #, c-format msgid "%d apple" msgid_plural "%d apples" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "%d jabłko" +msgstr[1] "%d jabłka" +msgstr[2] "%d jabłek" #: src/gui/chanOsc.cpp:32 msgid "None (0%)" diff --git a/po/ru.po b/po/ru.po index 635e486bf..44b2d3cb9 100644 --- a/po/ru.po +++ b/po/ru.po @@ -4853,9 +4853,9 @@ msgstr "" #, c-format msgid "%d apple" msgid_plural "%d apples" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "%d яблоко" +msgstr[1] "%d яблока" +msgstr[2] "%d яблок" #: src/gui/chanOsc.cpp:32 msgid "None (0%)" diff --git a/src/momo/momo.c b/src/momo/momo.c index b0f78cdd5..3e607f24b 100644 --- a/src/momo/momo.c +++ b/src/momo/momo.c @@ -853,7 +853,7 @@ const char* momo_ngettext(const char* str1, const char* str2, unsigned long amou // then I don't know how are plural strings stored unsigned int plural=runStackMachine(curDomain->pluralProgram,256,amount); // TODO: optimize - for (size_t i=curDomain->firstString[(unsigned char)(str[0])]; istringCount; i++) { + for (size_t i=curDomain->firstString[(unsigned char)(str1[0])]; istringCount; i++) { if (strcmp(curDomain->stringPtr[i],str1)==0) { const char* ret=curDomain->transPtr[i]; for (unsigned int j=0; j