diff --git a/.github/workflows/sync-from-external-sources.yml b/.github/workflows/sync-from-external-sources.yml deleted file mode 100644 index c9c8528904..0000000000 --- a/.github/workflows/sync-from-external-sources.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Sync Data From External Sources -on: - schedule: - # Every nights at 6 - - cron: "0 6 * * *" - -jobs: - sync-strings: - runs-on: ubuntu-latest - # Skip in forks - if: github.repository == 'vector-im/element-x-android' - # No concurrency required, runs every time on a schedule. - steps: - - uses: actions/checkout@v3 - - name: Run local script - run: ./tools/strings/importStringsFromElement.sh - - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 - with: - commit-message: Import strings from Element Android - title: Sync strings - body: | - - Update strings from Element Android - branch: sync-strings - base: develop diff --git a/libraries/ui-strings/README.md b/libraries/ui-strings/README.md index bb55709240..9cc2e8507f 100644 --- a/libraries/ui-strings/README.md +++ b/libraries/ui-strings/README.md @@ -1,15 +1,5 @@ ## Module ui-strings -This module contains strings from Element Android. +This module contains all the strings for the project. -The content of this module will be keep synced by the script `rootDir/tools/strings/importStringsFromElement.sh`, which is run daily by a GitHub action. - -### Adding new strings - -Add new strings to the file `./src/main/res/values/new_strings.xml`, or your new strings will be erased on the next sync. - -Also, new strings must be added to Element Android to give a chance to get translation. - -### Long term - -In the future, Weblate will be synced directly with this project. +For more details, see [the dedicated README.md file](../../tools/localazy/README.md)