| 434 | For some languages, push can fail like this: |
| 435 | {{{ |
| 436 | $ tx push -t -l gl |
| 437 | Pushing translations for resource trac.0_12-stable-messages-js-pot: |
| 438 | Warning: No mapping found for language code 'gl'. |
| 439 | KeyError: 'gl' |
| 440 | }}} |
| 441 | This is because there's no `message-js.po` catalog for the 'gl' translation, only a `message.po` one. |
| 442 | |
| 443 | The workaround is to push explicitly this one, by using the `-r` option: |
| 444 | {{{ |
| 445 | $ tx push -t -r trac.0_12-stable-messages-pot -l gl |
| 446 | Pushing translations for resource trac.0_12-stable-messages-pot: |
| 447 | Pushing 'gl' translations (file: trac\locale\gl\LC_MESSAGES\messages.po) |
| 448 | Done. |
| 449 | }}} |