Skip to content

Commit

Permalink
Separate translations into another repository
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderRedYT committed Dec 25, 2023
1 parent 9e7f239 commit 1e03020
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 533 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --frozen-lockfile --prefer-offline

- name: Cache Gradle Wrapper
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --frozen-lockfile --prefer-offline

- name: Cache Gradle Wrapper
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Install node modules
run: |
yarn install
yarn install --frozen-lockfile --prefer-offline
- name: Run Lint
run: |
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/translations/translation-files"]
path = src/translations/translation-files
url = [email protected]:OpenDTU-App/opendtu-react-native-translations.git
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
This is a mobile app for the [OpenDTU project by tbnobody](https://github.com/tbnobody/OpenDTU).
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.

## Installation
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.

## Development
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`.

## Translations
Translations are inside a [submodule](https://github.com/OpenDTU-App/opendtu-react-native-translations) located in `src/translations/translation-files`.
This helps to have a better developer experience when working with Weblate.

### ToDo
- [x] App Icon
- [x] Splash Screen
Expand Down
264 changes: 0 additions & 264 deletions src/translations/de.json

This file was deleted.

Loading

0 comments on commit 1e03020

Please sign in to comment.