Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
ca2ff993
Commit
ca2ff993
authored
Apr 29, 2015
by
Zach
Browse files
Merge pull request #1037 from tooomm/patch-1
fixed typos + small adjustments in contributing.md
parents
5410afbb
1af358c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
CONTRIBUTING.md
View file @
ca2ff993
...
...
@@ -136,11 +136,11 @@ as `QScopedPointer`, or, less preferably, `QSharedPointer`.
### Translations: introduction ###
Basic workflow for translations:
1.
developer adds a tr("foo") string in the code;
2.
every few days, a mantainer updates the
*
_en.ts files adding the new strings;
3.
Trasifex picks up the new files from github every 24 hours;
1.
developer adds a
`
tr("foo")
`
string in the code;
2.
every few days, a ma
i
ntainer updates the
`
*_en.ts files
`
adding the new strings;
3.
Tra
n
sifex picks up the new files from github every 24 hours;
4.
translators translate the new untraslated strings on Transifex;
5.
before a release, a mantainer fetches the updated translations from Transifex.
5.
before a release, a ma
i
ntainer fetches the updated translations from Transifex.
### Translations (for developers) ###
...
...
@@ -151,17 +151,17 @@ If you're about to propose a change that adds or modifies any translatable strin
in the code, you don't need to take care of adding the new strings to the
translation files. Every few days, or when a lot of new strings have been added,
someone from the development team will take care of extracing all the new strings,
adding them to the english translation file and making them available to
adding them to the english translation file
s
and making them available to
translators on Transifex.
### Translations (for mantainers) ###
### Translations (for ma
i
ntainers) ###
####
s
tep 2: updating *_en.ts files ####
####
S
tep 2: updating *_en.ts files ####
When new translatable strings have been added to the code, it would be nice to
make them available to translators on Transifex. Every few days, or when a lot
of new strings have been added, a mantainer should take care of extracing all
the new strings and add them to the english translation.
of new strings have been added, a ma
i
ntainer should take care of extracing all
the new strings and add them to the english translation
files
.
To update the english translation files, re-run cmake enabling the appropriate
parameter and then run make:
...
...
@@ -191,7 +191,7 @@ Transifex will pick up the modified files automatically (checks every 24 hours)
and update the interface where translators will be able to translate the new
strings.
####
s
tep 5: fetch new translations ####
####
S
tep 5: fetch new translations
from Transifex
####
Before rushing out a new release, it would be nice to fetch the most up to date
translations from Transifex and commit them into the Cockatrice source code.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment