-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
36 lines (32 loc) · 1.21 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# LOCALIZE INSTRUCTIONS
#
# http://localhost:33333/stop.html?stop_id=2&_LOCALE_=es
# bin/python setup.py extract_messages # (re)generates the .pot template file...run anytime you add a new $_ to your code/templates
# bin/python setup.py init_catalog -l en # NOTE: only run once ... adds English as a language
# bin/python setup.py init_catalog -l es # NOTE: only run once ... adds Spanish as a language
# bin/python setup.py update_catalog # updates your localized .po files (those originally created by init_catalog)
# bin/python setup.py compile_catalog # generates the .mo files
#
# IMPORTANT -- ongoing 1-line build statement...
# bin/python setup.py extract_messages; bin/python setup.py update_catalog; bin/python setup.py compile_catalog
#
[extract_messages]
copyright_holder = TriMet
msgid_bugs_address = [email protected]
add_comments = TRANSLATOR:,TRANSLATORS:,LAST_TRANSLATOR:Fx
output_file = ott/gtfs/locale/gtfs.pot
width = 80
[compile_catalog]
directory = ott/gtfs/locale
domain = gtfs
statistics = true
[init_catalog]
domain = gtfs
input_file = ott/gtfs/locale/gtfs.pot
output_dir = ott/gtfs/locale
[update_catalog]
domain = gtfs
input_file = ott/gtfs/locale/gtfs.pot
output_dir = ott/gtfs/locale
previous = true