docker-ci icon indicating copy to clipboard operation
docker-ci copied to clipboard

Xcode String Catalogs for the macOS File Provider

Open Rello opened this issue 5 months ago â€ĸ 2 comments

👤 App repository

To be done by you

  • [x] Link to your repository: https://github.com/nextcloud/desktop
  • [x] If the app is not in the Nextcloud organisation
    • [x] Invite nextcloud-bot with write permissions
    • [x] 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
  • [ ] 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/
    
  • [x] Create file .tx/config with the following content, replace {{APPID}} with your app id 3 times:
    
    ...
    [o:nextcloud:p:nextcloud:r:client-fileprovider]
    file_filter            = shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Localizable.xcstrings
    source_file            = shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Localizable.xcstrings
    source_lang            = en
    type                   = XCSTRINGS
    
    [o:nextcloud:p:nextcloud:r:client-fileproviderui]
    file_filter            = shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Localizable.xcstrings
    source_file            = shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Localizable.xcstrings
    source_lang            = en
    type                   = XCSTRINGS
    
    
  • [ ] âš™ī¸ Validate your repository and translation strings:
    bash translations/validateSyncSetup.sh Owner Repository
    

Hint: Desktop client is dependent on the Iso codes of the operating, thats why de_de => de should not be relveant

đŸ—ī¸ Sysadmin team

  • [ ] 👀 Ensure access:

    • [ ] Nextcloud organisation repository: Add nextcloud-bot with admin permissions
    • [ ] Other repositories:
      • [ ] Ensure the invite was accepted
      • [ ] Ensure the app certificate is linked to the same repository/author https://github.com/nextcloud/app-certificate-requests
  • [ ] âš™ī¸ Ensure repository setup and run initial source validation:

    bash translations/validateSyncSetup.sh Owner Repository
    
  • [ ] ➕ Add "Owner Repository", into https://github.com/nextcloud/docker-ci/edit/master/translations/config.json

    • [ ] Pull request:
  • [ ] 🔑 SSH into translation machine: ssh [email protected]

  • [ ] â†Šī¸ Change dir: cd /srv/docker-ci

  • [ ] âŦ‡ī¸ Pull: git pull origin master

  • [ ] 🧑‍đŸ’ģ Run the first sync manually:

    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

Rello avatar Aug 01 '25 08:08 Rello