Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "nc_money" to Transifex sync #426

Closed
26 tasks done
rakekniven opened this issue Oct 5, 2022 · 5 comments
Closed
26 tasks done

Add "nc_money" to Transifex sync #426

rakekniven opened this issue Oct 5, 2022 · 5 comments

Comments

@rakekniven
Copy link
Member

rakekniven commented Oct 5, 2022

👤 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
This was referenced Oct 6, 2022
@powerpaul17
Copy link

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

@nickvergessen
Copy link
Member

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?

@powerpaul17
Copy link

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.. 😅

@nickvergessen
Copy link
Member

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

@nickvergessen
Copy link
Member

Worked now:
powerpaul17/nc_money@be00daa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants