Skip to content

Commit 1e03020

Browse files
Separate translations into another repository
1 parent 9e7f239 commit 1e03020

File tree

9 files changed

+19
-533
lines changed

9 files changed

+19
-533
lines changed

.github/workflows/pull-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
${{ runner.os }}-yarn-
4242
4343
- name: Install dependencies
44-
run: yarn install --frozen-lockfile
44+
run: yarn install --frozen-lockfile --prefer-offline
4545

4646
- name: Cache Gradle Wrapper
4747
uses: actions/cache@v3

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
${{ runner.os }}-yarn-
4343
4444
- name: Install dependencies
45-
run: yarn install --frozen-lockfile
45+
run: yarn install --frozen-lockfile --prefer-offline
4646

4747
- name: Cache Gradle Wrapper
4848
uses: actions/cache@v3

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- name: Install node modules
1717
run: |
18-
yarn install
18+
yarn install --frozen-lockfile --prefer-offline
1919
2020
- name: Run Lint
2121
run: |

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/translations/translation-files"]
2+
path = src/translations/translation-files
3+
url = [email protected]:OpenDTU-App/opendtu-react-native-translations.git

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
This is a mobile app for the [OpenDTU project by tbnobody](https://github.com/tbnobody/OpenDTU).
44
I am a OpenDTU user, but I am not affiliated with the original project. However, for API communication, I inspired my code by the original webapp.
55

6+
## Installation
7+
There are signed .apk files inside the "Releases" tab. As of now, the is no plan to publish to Google Play store or F-Droid. However, if you want to help with F-Droid, feel free to contact me.
8+
9+
## Development
10+
There are two branches. `main` is the stable branch, `dev` is the development branch. If you want to contribute, please create a pull request to `dev`.
11+
12+
## Translations
13+
Translations are inside a [submodule](https://github.com/OpenDTU-App/opendtu-react-native-translations) located in `src/translations/translation-files`.
14+
This helps to have a better developer experience when working with Weblate.
15+
616
### ToDo
717
- [x] App Icon
818
- [x] Splash Screen

src/translations/de.json

Lines changed: 0 additions & 264 deletions
This file was deleted.

0 commit comments

Comments
 (0)