Re: [ostorybook-dev] translation codes

[ Thread Index | Date Index | More lists.tuxfamily.org/ostorybook-dev Archives ]




On 04/25/2017 06:24 PM, oStorybook wrote:
Bonne idée pour le répertoire scripts. Ceci dit il ne serait utilisé que
par des développeurs, donc inutile de se compliquer trop l'existence
(par exemple en envisageant une version Windowsienne). Il suffit que les
règles d'utilisation soit compréhensible pour tout développeur.

Lorsque j'intègre un fichier traduit je vérifie qu'il n'y a pas de
passage à la ligne au sein d'un message. Sinon je remplace par un \n.
Donc on peut dire que c'est une règle interne à oStorybook.

Voici ce que je prévois de coder:

# DESCRIPTION
# Shows missing lines in a property file (java style) vis-à-vis a reference
#   file (default: messages.properties in current directory).
# PROPFILE is the file to be compared with reference file. If no PROPFILE is # given, all files (in current directory) named "messages_[_a-zA-Z].properties" # will be used. In that case, "###### PROPFILE" will be output between each file.
#
# OPTIONS
#   -b
# Outputs lines missing in both files (with "+" when missing in PROPFILE,
#       and "-" when missing in REFFILE. See -w option.
#   -d
#       Output debug information on stderr.
#   -R REFFILE
#       Uses REFFILE instead of default ./messages.properties
#   -s
# Output will include full missing source lines (a=b instead of a). This option
#       is time consuming with current implementation.
#   -r
# Removes lines in PROPFILE which are not in REFFILE. A backup file (with tilde
#       appened to filename) will be created before the changes.
#   -i
# Inverts output: Only PROPFILE lines not present in REFFILE are displayed.
#       See -w option.
#   -w
# Creates ".TODO" and/or ".TOREMOVE" files, depending on other options used (-b, # -i) instead of stdout output. This option should typically be used with -s.





--
oStorybook dev team


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/