Split all of the AI-related strings (except for the AI controller's) into a new 'wesnoth-ai' textdomain. Includes a pot-update for 'wesnoth' as a side effect.

This commit is contained in:
Espreon 2013-05-22 22:18:07 -04:00
parent edcf801caa
commit 3f20785d02
158 changed files with 168205 additions and 155047 deletions

View file

@ -59,6 +59,9 @@
[textdomain]
name="wesnoth-help"
[/textdomain]
[textdomain]
name="wesnoth-ai"
[/textdomain]
[textdomain]
name="wesnoth-units"
[/textdomain]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[ai]
id=ai_default_rca

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
{core/macros/ai_candidate_actions.cfg}

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
{core/macros}
[ai]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[ai]
id=formula_ai # id is needed to uniquely identify a MP AI, it is not needed in the scenario AI
description=_"Formula AI dev" # this description is, again, needed for MP AI (it shows in AI list under this description

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[ai]
id=default_ai_poisoning

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[ai]
id=ai_idle
description=_"Idle AI"

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[ai]
id=testing_ai_recruitment

View file

@ -14,7 +14,7 @@ return {
-- how to set up an interactive parameter selection dialog
local T = H.set_wml_tag_metatable {}
local _ = wesnoth.textdomain "wesnoth"
local _ = wesnoth.textdomain "wesnoth-ai"
local tooltip_enemy_weight = _"Enemy unit weight: The (negative) weight given to each enemy unit that can reach a potential target location. Default: 100"
local tooltip_my_unit_weight = _"My unit weight: The (positive) weight given to each of the AI's units that can reach a potential target location. Default: 1"

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=The_Elves_Besieged

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
#define ANIMAL_AI_DESCRIPTIONS1
_"<u>General</u>: These AI's are set up to simulate (to some extent) how these animals behave in real life. This includes that they are animals, meaning that they are not super smart. As an example, the wolves generally hunt in a pack, but are easily distracted by prey coming into range. They are also decent, but not great at cornering deer. For the most part, this is intentional.

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=bottleneck-defense

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=dragon

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=goto

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
#define HOME_GUARDIAN X Y
# Meant to be used as a suffix to a unit-generating macro call.

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=healer_support

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
#define MINIMUM CONTAINER VAR
# Get the minimum value of CONTAINER.VAR

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=messenger-escort

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=patrols

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=protect-unit

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=recruiting

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=micro_ai_test

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=swarm

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[test]
id=wolves

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[event]
name=preload
first_time_only=no

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[event]
name=preload
first_time_only=no

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[event]
name=preload
first_time_only=no

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[event]
name=preload
first_time_only=no

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
[event]
name=preload
first_time_only=no

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
# This is AI test scenario which is not visible to casual player.
[test]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
# @file data/scenario-luaai.cfg
[test]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
# @file data/scenario-luaai.cfg
[test]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
# This is AI test scenario which is not visible to casual player.
# It should not be translateable

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
# scores of well-known candidate actions

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-ai
#define RCA_STAGE
# The standard RCA stage with its candidate actions; same for all Micro AIs

View file

@ -4,6 +4,7 @@ set_directory_properties(PROPERTIES CLEAN_NO_CUSTOM true)
# The normal domains use cpp and cfg files.
set(NORMAL_DOMAINS
wesnoth
wesnoth-ai
wesnoth-anl
wesnoth-aoi
wesnoth-did

10
po/wesnoth-ai/.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
CMakeCache.txt
CMakeFiles
cmake_install.cmake
Makefile
Makefile.in
Makefile.in.in
POTFILES
stamp-po
remove-potcdate.sed
*.gmo

2
po/wesnoth-ai/FINDCFG Normal file
View file

@ -0,0 +1,2 @@
find data -name '*.cfg' -print
find data -name '*.lua' -print

1
po/wesnoth-ai/LINGUAS Normal file
View file

@ -0,0 +1 @@
af ang ang@latin ar bg ca ca_ES@valencia cs da de el en_GB en@shaw es eo et eu fi fr fur_IT ga gd gl he hr hu id is it ja ko la lt lv mk mr nl nb_NO pl pt pt_BR racv ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv tl tr uk vi zh_CN zh_TW

41
po/wesnoth-ai/Makevars Normal file
View file

@ -0,0 +1,41 @@
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = wesnoth-ai
# These two variables depend on the location of this directory.
subdir = po/$(DOMAIN)
top_builddir = ../..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --from-code=UTF-8 --sort-by-file --keyword=sgettext --keyword=vgettext --keyword=_n:1,2 --keyword=sngettext:1,2 --keyword=vngettext:1,2
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = Wesnoth development team
# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
# in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
# understood.
# - Strings which make invalid assumptions about notation of date, time or
# money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS =http://bugs.wesnoth.org/
# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty.
EXTRA_LOCALE_CATEGORIES =

View file

2623
po/wesnoth-ai/af.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/ang.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/ang@latin.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/ar.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/bg.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/ca.po Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

2625
po/wesnoth-ai/cs.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/da.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/de.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/el.po Normal file

File diff suppressed because it is too large Load diff

3146
po/wesnoth-ai/en@shaw.po Normal file

File diff suppressed because it is too large Load diff

3146
po/wesnoth-ai/en_GB.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/eo.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/es.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/et.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/eu.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/fi.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/fr.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/fur_IT.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/ga.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/gd.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/gl.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/he.po Normal file

File diff suppressed because it is too large Load diff

2625
po/wesnoth-ai/hr.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/hu.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/id.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/is.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/it.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/ja.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/ko.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/la.po Normal file

File diff suppressed because it is too large Load diff

2625
po/wesnoth-ai/lt.po Normal file

File diff suppressed because it is too large Load diff

2625
po/wesnoth-ai/lv.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/mk.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/mr.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/nb_NO.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/nl.po Normal file

File diff suppressed because it is too large Load diff

2625
po/wesnoth-ai/pl.po Normal file

File diff suppressed because it is too large Load diff

2926
po/wesnoth-ai/pt.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/pt_BR.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/racv.po Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,19 @@
# Sed script that remove the POT-Creation-Date line in the header entry
# from a POT file.
#
# The distinction between the first and the following occurrences of the
# pattern is achieved by looking at the hold space.
/^"POT-Creation-Date: .*"$/{
x
# Test if the hold space is empty.
s/P/P/
ta
# Yes it was empty. First occurrence. Remove the line.
g
d
bb
:a
# The hold space was nonempty. Following occurrences. Do nothing.
x
:b
}

2625
po/wesnoth-ai/ro.po Normal file

File diff suppressed because it is too large Load diff

2625
po/wesnoth-ai/ru.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/sk.po Normal file

File diff suppressed because it is too large Load diff

2625
po/wesnoth-ai/sl.po Normal file

File diff suppressed because it is too large Load diff

2626
po/wesnoth-ai/sr.po Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

2626
po/wesnoth-ai/sr@latin.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/sv.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/tl.po Normal file

File diff suppressed because it is too large Load diff

2624
po/wesnoth-ai/tr.po Normal file

File diff suppressed because it is too large Load diff

2625
po/wesnoth-ai/uk.po Normal file

File diff suppressed because it is too large Load diff

2795
po/wesnoth-ai/vi.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/zh_CN.po Normal file

File diff suppressed because it is too large Load diff

2623
po/wesnoth-ai/zh_TW.po Normal file

File diff suppressed because it is too large Load diff

View file

@ -257,3 +257,4 @@ src/whiteboard/recruit.cpp
src/whiteboard/side_actions.cpp
src/whiteboard/suppose_dead.cpp
src/whiteboard/utility.cpp
src/windows_tray_notification.cpp

Some files were not shown because too many files have changed in this diff Show more