summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-07-26 23:32:57 +0200
committerAlbin <albin@mullvad.net>2023-07-27 10:41:29 +0200
commit9d0479a21129a7d85e29c78f792b2c6387fab0e7 (patch)
tree21f34d6087265d7eb11648e0811f9e59c6afb25c /android
parentca46ebaec6559fff98b943fed21b7bc9653862be (diff)
downloadmullvadvpn-9d0479a21129a7d85e29c78f792b2c6387fab0e7.tar.xz
mullvadvpn-9d0479a21129a7d85e29c78f792b2c6387fab0e7.zip
Update translations coverter with new resource path
Diffstat (limited to 'android')
-rw-r--r--android/translations-converter/README.md4
-rw-r--r--android/translations-converter/src/main.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/android/translations-converter/README.md b/android/translations-converter/README.md
index fc389c9f05..5294867751 100644
--- a/android/translations-converter/README.md
+++ b/android/translations-converter/README.md
@@ -17,7 +17,7 @@ for each locale it can find in the [`gui/locales` directory][gui-locales]. It wi
[messages.pot] template file with the string messages from the Android app for which it did not find
any translation, making it simpler to use the template for obtaining those translations.
-[android-resources]: ../app/src/main/res/
+[android-resources]: ../lib/resource/src/main/res/
[gui-locales]: ../gui/locales/
[messages.pot]: ../gui/locales/messages.pot
-[values-sv-example]: ../app/src/main/res/values-sv/strings.xml
+[values-sv-example]: ../lib/resource/src/main/res/values-sv/strings.xml
diff --git a/android/translations-converter/src/main.rs b/android/translations-converter/src/main.rs
index 29a1d121d2..118c66d425 100644
--- a/android/translations-converter/src/main.rs
+++ b/android/translations-converter/src/main.rs
@@ -46,7 +46,7 @@ use std::{
};
fn main() {
- let resources_dir = Path::new("../app/src/main/res");
+ let resources_dir = Path::new("../lib/resource/src/main/res");
let strings_file = File::open(resources_dir.join("values/strings.xml"))
.expect("Failed to open string resources file");