Re: [ostorybook-dev] translation codes |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/ostorybook-dev Archives
]
- To: ostorybook-dev@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [ostorybook-dev] translation codes
- From: Bruno Raoult <braoult@xxxxxx>
- Date: Wed, 26 Apr 2017 09:08:55 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1493175799; bh=5zH5J00WwcQLs7PuDNtBLhupapnZ5vF3Nq/13xWjRPI=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=O/s0fUl7SyysvD7Id0szHvzBUWyYhjyeEWhTinv6UVTwjN7DWoW80LDZokFYFodki 1xR5XkgoiHVhEQxZFHuYS7saw3WJwcTYhXaZTwO6RJv7WWUR8q9FY6r8I54GzSBnri OOoeK+Ebo/NCyqATL4qHnXHsB305GE907o+T6HSo=
- Feedback-id: esmtp:qq.com:bgforeign:bgforeign1
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