[i18n] Problem building .mo file
Jan Schneider
jan at horde.org
Wed Nov 18 13:42:54 UTC 2009
Zitat von Jozeph Erzenberg <je at ktf.rtu.lv>:
> 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/
More information about the i18n
mailing list