summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/txc
Commit message (Collapse)AuthorAgeFilesLines
* [txc] don't crash when merging a new language.Raphael Langella2014-04-081-1/+3
| | | | Also, simplify by removing a useless check.
* Fix double backslash in files pulled from transifex.Raphael Langella2014-03-261-1/+1
|
* Fix and simplify handling of ll_RR format for translations.Raphael Langella2014-03-251-32/+10
|
* Fix the transifex interface broken by e8b8e78b.Raphael Langella2014-01-171-5/+31
|
* More localization of quotation marks.Raphael Langella2014-01-061-2/+20
|
* [txc] auto_fix adds missing space before french punctuation.Raphael Langella2013-12-171-0/+5
|
* [txc] Several improvements to auto_fix and wrapping.Raphael Langella2013-12-131-12/+24
|
* [txc] Don't break danish quotes when autofixing french ones.Raphael Langella2013-12-131-6/+8
|
* [txc] Polish quotation marks.Adam Borowski2013-12-121-0/+3
| | | | | | | | I guess »« shouldn't be used by default, they're very rare and used practically only when nested inside „”. If you want a good degree of completeness, there's: https://en.wikipedia.org/wiki/International_variation_in_quotation_marks
* [txc] Don't try to remove whitespaces around punctuation in ja and zh.Raphael Langella2013-12-121-2/+0
| | | | | Probably I introduced some of them, but I'm afraid an automated fix might do more harm than it fixes. The script shouldn't mess with whitespaces anymore.
* [txc] Allow breaking lines between 2 tags.Raphael Langella2013-12-121-1/+7
| | | | | | | | | | | | This helps readability quite a lot. Although it means that putting a whitespace between 2 tags should be avoided when possible, because it might be removed on unwrap (both by txc and crawl), if the line break happens to be on this specific whitespace. Quite unlikely, but if it does happen, it can be fixed by using a non-breaking space (0xA0). Note that it works by inserting a line feed (\f) between tags which is later removed. This makes lines containing consecutive tags to have a slightly shorter maximal length.
* [txc] autofix replaces ascii quotes by unicode.Raphael Langella2013-12-121-3/+17
| | | | | | | | Handle english, german and french. Other languages default to english quotes but it's easy to fix. It won't touch text containing any lua otherwise it messes the strings. It could fix text outside lua, but it currently doesn't.
* Don't put chinese punctuation after newline when wrapping text.Raphael Langella2013-12-111-1/+15
|
* Fix transifex interface setup.Raphael Langella2013-12-101-1/+1
| | | | It called a variable which has been renamed.
* [txc] Try to not break long words.Raphael Langella2013-12-071-4/+9
| | | | Doesn't always work though, so :nowrap is still sometimes necessary.
* [txc] Add an option to replace some ASCII punctuation with unicode.Raphael Langella2013-12-051-3/+28
| | | | | Handles replacing hyphens and en dashes with em dashes. Also, put non-breaking spaces where needed. Might add support for handling quotes (“”, „“, «»).
* [txc] Improve the wrapping for languages without spaces.Raphael Langella2013-11-271-2/+1
| | | | | Punctuation is less likely to end up at the beginning of a line (but it still can happen). Tags are also less likely to be broken.
* [txc] Don't ever create empty desc files, even with -f.Raphael Langella2013-10-141-1/+1
|
* Restore the functionality of submitting new quotes from transifex.Raphael Langella2013-09-141-23/+33
| | | | | by adding a line :quote at the end of a description followed by the quote. Works both for english and foreign quotes.
* [txc] Improve handling of removed keys being edited back in.Raphael Langella2013-09-091-0/+5
|
* [txc] Remove the invalidate optionRaphael Langella2013-09-061-7/+4
| | | | Makes it the default behaviour except it should work better now.
* [txc] Add a new unicode char for splitting chinese lines.Raphael Langella2013-08-301-1/+1
|
* Fix lots of typosChris Oelmueller2013-07-231-1/+1
|
* Fix obsolete key removal when generating transifex source files.Raphael Langella2013-06-031-1/+1
|
* Add an option to txc to invalidated entries when merging.Raphael Langella2013-04-121-3/+9
| | | | | | | | | | | | | There has been a recent change in the transifex workflow, see: http://blog.transifex.com/post/47021962652/changes-in-key-value-formats Now, when a source key is updated, all translations for it are invalidated. It makes it easier for translators to notice they need to update it. Using this option when merging allows deleting those obsolete entries, which is useful to avoid pushing them back accidentally. It's not a default behaviour, because otherwise it might delete stuff added directly without going through transifex.
* Don't reset the changed status of a file on a failed tx push.Raphael Langella2013-04-051-5/+6
|
* Wrap lines on punctuation for chinese and japanese since they don't use spaces.Raphael Langella2013-04-031-5/+19
|
* Remove superfluous whitespaces from japanese and chinese files.Raphael Langella2013-03-281-6/+26
|
* [txc] Improve detection of link entries.Raphael Langella2013-03-261-1/+1
|
* Fix handling of fullwidth characters when wrapping east asian languages.Raphael Langella2013-03-261-8/+18
|
* New transifex interface.Raphael Langella2013-03-251-0/+1190
When editing desc files, remember to run "txc t" afterwards to rewrap the files if needed.