mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-02-01 11:56:03 +00:00
29 lines
924 B
INI
29 lines
924 B
INI
# Translation configuration for changedetection.io
|
|
# See changedetectionio/translations/README.md for full documentation on updating translations
|
|
|
|
[extract_messages]
|
|
# Extract translatable strings from source code
|
|
mapping_file = babel.cfg
|
|
output_file = changedetectionio/translations/messages.pot
|
|
input_paths = changedetectionio
|
|
keywords = _ _l gettext
|
|
# Options to reduce unnecessary changes in .pot files
|
|
sort_by_file = true
|
|
width = 120
|
|
add_location = file
|
|
|
|
[update_catalog]
|
|
# Update existing .po files with new strings from .pot
|
|
# Note: Omitting 'locale' makes Babel auto-discover all catalogs in output_dir
|
|
input_file = changedetectionio/translations/messages.pot
|
|
output_dir = changedetectionio/translations
|
|
domain = messages
|
|
# Options for consistent formatting
|
|
width = 120
|
|
no_fuzzy_matching = true
|
|
|
|
[compile_catalog]
|
|
# Compile .po files to .mo binary format
|
|
directory = changedetectionio/translations
|
|
domain = messages
|