diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/action_bar.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/values-fr/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/values.xml | 3 |
4 files changed, 12 insertions, 1 deletions
diff --git a/app/src/main/res/menu/action_bar.xml b/app/src/main/res/menu/action_bar.xml index d25a24c..d9e3020 100644 --- a/app/src/main/res/menu/action_bar.xml +++ b/app/src/main/res/menu/action_bar.xml @@ -27,4 +27,10 @@ android:enabled="true" android:title="@string/navigation_user_about" app:showAsAction="never" /> + + <item + android:id="@+id/btn_switch" + android:enabled="true" + android:title="@string/navigation_user_switch_staging" + app:showAsAction="never" /> </menu>
\ No newline at end of file diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 3d882d1..0ea3887 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -6,6 +6,8 @@ <string name="navigation_user_profile">Profil</string> <string name="navigation_user_logout">Se déconnecter</string> <string name="navigation_user_about">À propos</string> + <string name="navigation_user_switch_staging">Utiliser env. dév.</string> + <string name="navigation_user_switch_production">Utiliser env. prod.</string> <string name="about_title">À propos de %1$s</string> <string name="about_message">Une application Android pour la plate-forme Delta.\n\nApplication : %1$s\nServeur : %2$s\nAndroid : %3$s\nMàJ : %6$s\nNoyau : %4$s\nAppareil : %5$s\nCarte : %7$s\nAmorceur : %8$s</string> <string name="about_close">Fermer</string> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0cbeecc..61d7bf2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -6,6 +6,8 @@ <string name="navigation_user_profile">Profile</string> <string name="navigation_user_logout">Log out</string> <string name="navigation_user_about">About</string> + <string name="navigation_user_switch_staging">Use dev. env.</string> + <string name="navigation_user_switch_production">Use prod. env.</string> <string name="about_title">About %1$s</string> <string name="about_message">An Android app for the Delta platform.\n\nApp: %1$s\nServer: %2$s\nAndroid: %3$s\nSecurity: %6$s\nKernel: %4$s\nDevice: %5$s\nBoard: %7$s\nBootloader: %8$s</string> <string name="about_close">Close</string> diff --git a/app/src/main/res/values/values.xml b/app/src/main/res/values/values.xml index ee1eb49..b942dbc 100644 --- a/app/src/main/res/values/values.xml +++ b/app/src/main/res/values/values.xml @@ -1,5 +1,6 @@ <resources> <string name="app_name" translatable="false">Equestria.dev Delta</string> <string name="app_launch_name" translatable="false">Delta</string> - <string name="delta_root" translatable="false">https://delta.equestria.dev</string> + <string name="delta_root_production" translatable="false">https://delta.equestria.dev</string> + <string name="delta_root_staging" translatable="false">https://delta-staging.equestria.dev</string> </resources>
\ No newline at end of file |