diff --git a/app/build.gradle b/app/build.gradle
index b7264498e..eb6da978e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -62,6 +62,11 @@ android {
buildConfigField "String", "GIT_HASH_SHORT", "\"${getGitHashShort()}\""
buildConfigField "boolean", "INTERNET_ACCESS", "false"
resValue "string", "pebble_content_provider", "com.getpebble.android.provider"
+ resValue "string", "app_name", "@string/application_name_generic"
+ resValue "string", "title_activity_controlcenter", "@string/title_activity_controlcenter_generic"
+ resValue "string", "about_activity_title", "@string/about_activity_title_generic"
+ resValue "string", "about_description", "@string/about_description_generic"
+ resValue "string", "gadgetbridge_running", "@string/gadgetbridge_running_generic"
}
signingConfigs {
nightly {
@@ -91,6 +96,11 @@ android {
}
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
resValue "string", "pebble_content_provider", "com.getpebble.android.provider"
+ resValue "string", "app_name", "@string/application_name_main_nightly"
+ resValue "string", "title_activity_controlcenter", "@string/title_activity_controlcenter_main_nightly"
+ resValue "string", "about_activity_title", "@string/about_activity_title_main_nightly"
+ resValue "string", "about_description", "@string/about_description_main_nightly"
+ resValue "string", "gadgetbridge_running", "@string/gadgetbridge_running_main_nightly"
debuggable true
}
nopebble {
@@ -104,6 +114,11 @@ android {
}
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
resValue "string", "pebble_content_provider", "com.getpebble.android.nopebble.provider"
+ resValue "string", "app_name", "@string/application_name_main_nopebble"
+ resValue "string", "title_activity_controlcenter", "@string/title_activity_controlcenter_main_nopebble"
+ resValue "string", "about_activity_title", "@string/about_activity_title_main_nopebble"
+ resValue "string", "about_description", "@string/about_description_main_nopebble"
+ resValue "string", "gadgetbridge_running", "@string/gadgetbridge_running_main_nopebble"
debuggable true
}
@@ -139,7 +154,12 @@ android {
versionNameSuffix "-banglejs"
buildConfigField "boolean", "INTERNET_ACCESS", "true"
// Disable pebble provider to allow Bangle.js Gadgetbridge to coexist with Gadgetbridge
- resValue "string", "pebble_content_provider", "com.getpebble.android.nopebble.provider"
+ resValue "string", "pebble_content_provider", "com.getpebble.android.nopebble.bangle.provider"
+ resValue "string", "app_name", "@string/application_name_banglejs_main"
+ resValue "string", "title_activity_controlcenter", "@string/title_activity_controlcenter_banglejs_main"
+ resValue "string", "about_activity_title", "@string/about_activity_title_banglejs_main"
+ resValue "string", "about_description", "@string/about_description_banglejs_main"
+ resValue "string", "gadgetbridge_running", "@string/gadgetbridge_running_banglejs_main"
}
}
diff --git a/app/src/banglejs/res/values/strings.xml b/app/src/banglejs/res/values/strings.xml
deleted file mode 100644
index e965e9764..000000000
--- a/app/src/banglejs/res/values/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- Bangle.js Gadgetbridge
- Bangle.js Gadgetbridge
- About Bangle.js Gadgetbridge
- Android companion app for Bangle.js built on top of the Gadgetbridge project, with added Internet Access.
- Bangle.js running
-
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index edf7b965e..a2078b549 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -69,7 +69,8 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:requestLegacyExternalStorage="true"
- android:theme="@style/GadgetbridgeTheme">
+ android:theme="@style/GadgetbridgeTheme"
+ tools:replace="android:label">
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 8d65c4df6..b4c78e916 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1,7 +1,35 @@
- Gadgetbridge
- Gadgetbridge
+ Gadgetbridge
+ Gadgetbridge
+ About Gadgetbridge
+ Cloudless copylefted libre replacement for closed source Android gadget apps from vendors.
+ Gadgetbridge running
+
+ Bangle.js Gadgetbridge
+ Bangle.js Gadgetbridge
+ About Bangle.js Gadgetbridge
+ Android companion app for Bangle.js built on top of the Gadgetbridge project, with added Internet Access.
+ Bangle.js running
+
+ Bangle.js Gadgetbridge
+ Bangle.js Gadgetbridge
+ About Bangle.js Gadgetbridge
+ Android companion app for Bangle.js built on top of the Gadgetbridge project, with added Internet Access.
+ Bangle.js running
+
+ Gadgetbridge (Nightly)
+ Gadgetbridge Nightly
+ About Gadgetbridge Nightly
+ Cloudless copylefted libre replacement for closed source Android gadget apps from vendors. Nightly releases of Gadgetbridge. It cannot be installed if you already have either the Gadgetbridge or the Pebble app installed, due to a conflict in the Pebble provider.
+ Nightly GB running
+
+ Gadgetbridge (Nightly, No Pebble provider)
+ Gadgetbridge Nightly No Pebble
+ About Gadgetbridge Nightly No Pebble
+ Cloudless copylefted libre replacement for closed source Android gadget apps from vendors. Nightly releases of Gadgetbridge. This version has the Pebble provider renamed to prevent conflicts, so some Pebble related integrations will not work, but it can be installed alongside existing Gadgetbridge installation.
+ Nightly NoPebble GB running
+
Settings
Debug
Quit
@@ -368,7 +396,6 @@
Tap connected device for vibration
Tap a device to connect
Cannot connect. Bluetooth address invalid?
- Gadgetbridge running
Installing binary %1$d/%2$d
Installation failed
Installed
@@ -1096,11 +1123,9 @@
About
Version %s
Commit %s
- About Gadgetbridge
GPX Receiver Gadgetbridge
GPX file(s) received:
Some file(s) already exist. Overwrite?
- Cloudless copylefted libre replacement for closed source Android gadget apps from vendors.
Core Team (in order of first code contribution)
Contributors
Andreas Shimokawa\nCarsten Pfeiffer\nDaniele Gobbetti
diff --git a/app/src/nightly/res/values/strings.xml b/app/src/nightly/res/values/strings.xml
deleted file mode 100644
index c4e5885c9..000000000
--- a/app/src/nightly/res/values/strings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- Gadgetbridge (Nightly)
-
diff --git a/app/src/nopebble/res/values/strings.xml b/app/src/nopebble/res/values/strings.xml
deleted file mode 100644
index 090f10a24..000000000
--- a/app/src/nopebble/res/values/strings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- Gadgetbridge (Nightly, No Pebble provider)
-