nextcloud/docker-ci

Add "nc_money" to Transifex sync

rakekniven opened this issue ยท 5 comments

๐Ÿ‘ค App repository

To be done by you

js/
vendor/
  • Create file .tx/config with the following content, replace {{APPID}} with your app id 3 times:
[main]
host = https://www.transifex.com
lang_map = bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja

[nextcloud.{{APPID}}]
file_filter = translationfiles/<lang>/{{APPID}}.po
source_file = translationfiles/templates/{{APPID}}.pot
source_lang = en
type = PO

๐Ÿ—๏ธ Sysadmin team

git tag -a -s translations-app-XXX
docker run -v /srv/cronie-data/transifexrc:/root/.transifexrc \
    -v /srv/cronie-data/gpg:/gpg \
    -v /srv/cronie-data/ssh/id_rsa:/root/.ssh/id_rsa \
    --rm -i ghcr.io/nextcloud/continuous-integration-translations-app \
    AUTHOR APPID

๐Ÿ”ฃ Translation team

  • Transifex: New resource should appear
  • Transifex: Do translations and check sync to repo
  • Add resource to wiki

Thanks for opening this up @rakekniven! I finished my tasks but I cannot edit it here.

remote: error: At least 1 approving review is required by reviewers with write access.
To github.com:powerpaul17/nc_money
! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'git@github.com:powerpaul17/nc_money'

@powerpaul17 can you disable branch protection please for all translated branches?

Ok, I removed it. Just added it because it said so in the documentation, I was already wondering how it should work with the bot then.. ๐Ÿ˜…

Just added it because it said so in the documentation, I was already wondering how it should work with the bot then..

I was just checking that as the latest doc says the opposite. Then I noticed the "stable" docs still say it...
Newer details at https://docs.nextcloud.com/server/latest/developer_manual/basics/front-end/l10n.html#setup-of-the-transifex-sync

Also updated the issue template of this repo here:
839ae9a