Skip to content

Requesting translations sync for organization_folders app #725

@JonathanTreffler

Description

@JonathanTreffler

👤 App repository

To be done by you

  • Link to your repository: https://github.com/verdigado/organization_folders
  • If the app is not in the Nextcloud organisation
    • Invite nextcloud-bot with write permissions
    • Make sure all translated branches do not have branch protection enabled, see https://docs.nextcloud.com/server/latest/developer_manual/basics/front-end/l10n.html#setup-of-the-transifex-sync for more details

      Reasons why I did not check the box, but still consider the application complete: The bot invitation was sent with admin privileges to the repo, which bypasses protected branches. But once the invitation is accepted I can instead bypass the protection for the bot specifically, by editing the branch protection rule to not apply to the bot at which point I think I can safely return the bot to write permissions. Please tell me if this won't work.

      EDIT: while it seems you cannot add specific users to the branch protection rule bypass list you can add collaborators with write permissions to the bypass, which is what I did (the bot is the only outside collaborator with write permissions anyway). The bot should now be able to bypass the branch protection.
  • Create file l10n/.gitkeep with empty content
  • Add .l10nignore to exclude compiled JS files and thirdparty code, e.g. ignoring compiled javascript assets and composer PHP dependencies in the vendor/ directory:
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 = hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja, bg_BG: bg, cs_CZ: cs, fi_FI: fi

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

🏗️ Sysadmin team

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions