Remove translation template midori.pot from the repository
Transifex should generate a template. A benefit of this is that it automatically notifies about problems. The file midori.pot does unfortunately have to live in the source tree, but we remove it in clean and distclean targets.
This commit is contained in:
parent
4fd73fb701
commit
2e496c53fa
4 changed files with 12 additions and 2344 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,6 +6,7 @@ _build_
|
|||
|
||||
po/.intltool-merge-cache
|
||||
po/POTFILES
|
||||
po/midori.pot
|
||||
po/stamp-it
|
||||
po/*.gmo
|
||||
|
||||
|
|
|
@ -4,10 +4,13 @@ This file is licensed under the terms of the expat license, see the file EXPAT.
|
|||
|
||||
If you want to translate Midori, here are a few helpful tips.
|
||||
|
||||
To update the localization template:
|
||||
There is no template in the repository. To create a localization template:
|
||||
|
||||
./waf build --update-po
|
||||
|
||||
You can use the same command in the future to update the template. It is
|
||||
recommended to do that always before you update localizations.
|
||||
|
||||
If you want to add a new language 'aa', create it like this:
|
||||
|
||||
cd po
|
||||
|
|
2343
po/midori.pot
2343
po/midori.pot
File diff suppressed because it is too large
Load diff
7
wscript
7
wscript
|
@ -494,6 +494,13 @@ def build (bld):
|
|||
if Options.commands['check']:
|
||||
bld.add_subdirs ('tests')
|
||||
|
||||
if Options.commands['clean']:
|
||||
distclean ()
|
||||
|
||||
def distclean ():
|
||||
if os.path.exists ('po/midori.pot'):
|
||||
os.remove ('po/midori.pot')
|
||||
|
||||
def shutdown ():
|
||||
if Options.commands['install'] or Options.commands['uninstall']:
|
||||
dir = Build.bld.get_install_path ('${MDATADIR}/icons/hicolor')
|
||||
|
|
Loading…
Reference in a new issue