mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Remove automation to sync Element Android strings.
This commit is contained in:
committed by
Benoit Marty
parent
dcaaecde02
commit
33190674c1
@@ -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
|
|
||||||
@@ -1,15 +1,5 @@
|
|||||||
## Module ui-strings
|
## 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.
|
For more details, see [the dedicated README.md file](../../tools/localazy/README.md)
|
||||||
|
|
||||||
### 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.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user