This section allows you to edit the options for PO file saving.
The first checkboxes group control general hehaviour for actions
performed at PO-file saving command.
- Update header when saving
Check this button, to update the header information of the file everytime
when it is saved. The header normally keeps information about the date and
time the file was last updated,the last translator etc. You can choose
which information you want to update from the Fields to update
checkboxes area below. Fields that do not exist are added to the header.
If you want to add additional fields to the header you can edit the header
manually by choosing -> in the editor window.
- Check syntax of file when saving
Check this to automatically check syntax of file with msgfmt
--statistics when saving a file. You will only get a message,
if an error occured. You should keep this options enabled unless know
what you're doing.
If you don't want to touch some fields in PO-file header or want to force updating
specific fields, there are five checkboxes which control: revision date, PO-file
language, text encoding, last translator name, charset. If a field does not exist,
it is appended to the header. If you want to add other information to the header,
you have to edit the header manually by choosing
->
in the editor window. Deactivate
Update header when saving
above if you don't want to have the header updated.
For date and time of the header field PO-Revision-Date you
can choose one from bellow formats:
Default is the format normally used in PO-files.
Local is the format specific to your country.
Custom let you define your own format, where you
can use the following C-like format strings:
Table 3-1. Year
Format | Meaning | Range |
---|
%y | year | 00 to 99 |
%Y | year | 0001 to 9999 |
Table 3-2. Month
Format | Meaning | Range |
---|
%m | month of year | 01 to 12 |
%f | month of year | 1 to 12 |
%b,%h | month abbreviation | Jan to Dec |
Table 3-3. Day
Format | Meaning | Range |
---|
%j | day of the year | 001 to 366 |
%d | day of month | 01 to 31 |
%e | day of month | 1 to 31 |
%a | weekday abbreviation | Sun to Sat |
Table 3-4. Hour
Format | Meaning | Range |
---|
%H | hour | 00 to 23 |
%k | hour | 0 to 23 |
%i | hour | 1 to 12 |
%I | hour | 01 to 12 |
%p | | AM or PM |
Table 3-5. Minute, Second, Timezone
Format | Meaning | Range |
---|
%M | minute | 00 to 59 |
%S | second | 00 to 59 |
%Z | timezone | (given in identity settings) |
Downside part group encoding options for PO-file when saving. If you work
on KDE project you should be aware that at least
desktop.po
file
must be UTF-8 encoded. Popup list let you select
messages encoding. At least your language setting and UTF-8 must be.
If, for some reasons, you don't want accidentaly change current PO-file
encoding, turn on
Keep the encoding of the file.