1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

16 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
defafbd202 check-accelerator-conflicts.pl v1.5 suggests better and is more verbose.
The --msgid-fallback mode still reports conflicts between msgid
and msgstr strings, but the resulting suggestions can now include
accelerators reserved by msgids; thus the translator won't be
lured into avoiding accelerators that she'll be likely to replace
anyway.  Therefore, --msgid-fallback is now the default and can
be turned off with the new option --no-msgid-fallback.

After checking each file, check-accelerator-conflicts.pl displays
a one-line summary of how many accelerators it checked and how
many conflicts it found.  This is primarily meant to warn people
by displaying zeroes if if gather-accelerator-contexts.pl has not
been run.

Locale::PO::dump doesn't output an msgid if there isn't one.
2006-03-26 20:50:58 +00:00
Kalle Olavi Niemitalo
3251644dcf Locale::PO now preserves unrecognized flags, although there is still
no documented way to access them.  It also preserves the order of
flags, if no flags are modified.
  Replaced the fuzzy, c_format, and php_format fields with _flaghash,
and renamed the _flag field to _flagstr.
  Flag-setting functions silently map unsupported values (e.g. 42) to
supported ones (e.g. 1), which they also return.
  The c_format and php_format methods treat empty strings as undef,
rather than as 0.
  Names of flags are case-sensitive, like in GNU Gettext.

POD changes:
  Unlisted the bugs that have now been fixed.
2006-02-18 20:30:40 +02:00
Kalle Olavi Niemitalo
de564b7b4b Updated the Almost Bugs section to match recent changes. 2006-02-12 21:48:43 +02:00
Kalle Olavi Niemitalo
90f06379da check-accelerator-conflicts.pl displays line numbers saved by Locale::PO. 2006-02-12 19:25:27 +02:00
Kalle Olavi Niemitalo
aed3c674af save_file returns undef and remembers $! if print fails.
POD changes:
Revised the synopses of the methods, paying attention to levels of quoting.
Repeat the synopsis above the description of each method.
Never write C<Locale::PO>; it looks bad in pod2text.
2006-02-12 17:16:35 +02:00
Kalle Olavi Niemitalo
f4015a985c New parser in Locale::PO supports obsolete entries and fixes other bugs.
Removed the corresponding workaround from check-accelerator-conflicts.pl.
2006-02-12 00:33:11 +02:00
Kalle Olavi Niemitalo
970c7f5483 Documented the load_file and save_file methods of Locale::PO. 2006-02-05 19:16:06 +02:00
Kalle Olavi Niemitalo
15d4531f14 Renamed normalize_str to _normalize_str, and dump_multi_comment to _dump_multi_comment. 2006-02-05 18:21:25 +02:00
Kalle Olavi Niemitalo
608727861d Minor fix and comments in Locale::PO:
The load_file function binds $/ and $_ dynamically.
Added comments about the fields of Locale::PO objects.
2006-02-05 17:47:36 +02:00
Kalle Olavi Niemitalo
c29ec0d691 Documented the lack of charset handling in Locale::PO. 2006-01-08 14:39:18 +02:00
Kalle Olavi Niemitalo
2232e80db3 Greatly expanded the BUGS section of Locale::PO. 2006-01-08 14:25:04 +02:00
Kalle Olavi Niemitalo
da7d4cfa25 Documented Locale::PO::php_format. 2006-01-07 19:45:54 +02:00
Kalle Olavi Niemitalo
4e653e8c84 Use fields, and "my Locale::PO" where applicable. 2006-01-06 17:56:08 +02:00
Kalle Olavi Niemitalo
35d9107406 Documented some quirks of Locale::PO.
- Documented quoting in the msgid, msgid_plural, msgstr, and msgstr_n methods.
- Documented newlines in the comment, automatic, and reference methods.
2006-01-06 03:26:26 +02:00
Kalle Olavi Niemitalo
d3b0178d88 Forked Locale/PO.pm. No real code changes yet. 2006-01-06 03:02:06 +02:00
Kalle Olavi Niemitalo
dd9b321d15 Moved Perl scripts to a "perl" directory and imported Locale::PO. 2006-01-01 23:32:42 +02:00