Re: Problem building .mo file
Jan Schneider <[email protected]>
| Newsgroups | gmane.comp.horde.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Zitat von Jozeph Erzenberg <[email protected]>: > Hi! > > I met such problem: > > Building MO files for module imp... > Building locale lv_LV... > Warning: an error has occured: > /home/htdocs/horde/po/../imp/po/lv_LV.po:49: 'msgstr' is not a valid > PHP format string, unlike 'msgid'. Reason: In the directive number > 1, the character '.' is not a valid conversion specifier. > /home/htdocs/horde/po/../imp/po/lv_LV.po:54: 'msgstr' is not a valid > PHP format string, unlike 'msgid'. Reason: In the directive number > 1, the character '.' is not a valid conversion specifier. > /usr/bin/msgfmt: found 2 fatal errors > > respective lines from lv_LV.pot: > > #: lib/Quota.php:73 > #, php-format > msgid "%.0f MB" > msgstr "%.no MB" > > #: lib/Quota.php:67 > #, php-format > msgid "%.0f%% of %.0f MB" > msgstr "%.no%% no %.no MB" > > What it could be? %.0f is a valid format string, %.no is not. See http://www.php.net/manual/en/function.sprintf.php Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ -- Horde i18n mailing list - Join the hunt: http://horde.org/bounties/ Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]