mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
first changes made by script
This commit is contained in:
parent
30b861879a
commit
ac4fc367bb
2 changed files with 7 additions and 4 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
<!-- Used to format robot player names in the lists of players
|
||||
found in each game listing -->
|
||||
<string name="robot_namef">%s (robô)</string>
|
||||
<string name="robot_name_fmt">%s (robô)</string>
|
||||
|
||||
<!-- Used as a substitute for the names of remote players when
|
||||
they aren't available yet because the connection is not
|
||||
|
@ -43,7 +43,7 @@
|
|||
three. -->
|
||||
<!-- First state: is configured to use a room but has not yet
|
||||
contacted the relay and been assigned that room. -->
|
||||
<string name="summary_relay_conff">Configurado para a sala
|
||||
<string name="summary_relay_conf_fmt">Configurado para a sala
|
||||
\"%s\"</string>
|
||||
<!-- Second state: has been assigned to a room on the relay
|
||||
(meaning the network is working) but there are not yet as
|
||||
|
|
|
@ -29,10 +29,13 @@ def checkAgainst( path, pairs ):
|
|||
print "here are the two strings, English then the other"
|
||||
print pairs[candidate]
|
||||
print child.text
|
||||
response = raw_input( "replace %s with %s? (y or n)" % (name, candidate) )
|
||||
response = raw_input( "replace %s with %s? (y, n, s or q)" % (name, candidate) )
|
||||
if response == 'y':
|
||||
child.set('name', candidate)
|
||||
elif response == 's':
|
||||
break
|
||||
elif response == 'q':
|
||||
sys.exit(0)
|
||||
# try = tryNames( name, pairs )
|
||||
# response = raw_input( "unknown name: %s; respond:" % (name) )
|
||||
# print "you wrote:", response
|
||||
|
@ -51,7 +54,7 @@ def main():
|
|||
for file in [file for file in files if file == "strings.xml"]:
|
||||
path = "%s/%s" % (subdir, file)
|
||||
checkAgainst( path, pairs )
|
||||
break
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
##############################################################################
|
||||
|
|
Loading…
Reference in a new issue