mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-24 02:46:50 +01:00
WIP - Added a localization string for the find lost device feature (#1809)
Added a new string to localize the Found it! message shown when using the find lost device feature
This commit is contained in:
parent
07818d1f79
commit
f0afa0e291
@ -292,7 +292,7 @@ public class GBDeviceAdapterv2 extends RecyclerView.Adapter<GBDeviceAdapterv2.Vi
|
||||
}
|
||||
GBApplication.deviceService().onFindDevice(true);
|
||||
//TODO: extract string resource if we like this solution.
|
||||
Snackbar.make(parent, R.string.control_center_find_lost_device, Snackbar.LENGTH_INDEFINITE).setAction("Found it!", new View.OnClickListener() {
|
||||
Snackbar.make(parent, R.string.control_center_find_lost_device, Snackbar.LENGTH_INDEFINITE).setAction(context.getResources().getString(R.string.find_lost_device_you_found_it), new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
GBApplication.deviceService().onFindDevice(false);
|
||||
|
@ -381,6 +381,7 @@
|
||||
<string name="timeformat_am_pm">AM/PM</string>
|
||||
<string name="pref_screen_notification_profile_alarm_clock">Sveglia</string>
|
||||
<string name="find_device_you_found_it">Trovato!</string>
|
||||
<string name="find_lost_device_you_found_it">Trovato!</string>
|
||||
<string name="miband2_prefs_timeformat">Mi2: Formato dell\'orario</string>
|
||||
<string name="mi2_fw_installhandler_fw53_hint">E\' necessario installare la verione %1$s prima di installare questo firmware!</string>
|
||||
<string name="mi2_enable_text_notifications">Notifiche</string>
|
||||
|
@ -610,6 +610,7 @@
|
||||
<string name="activity_web_view">Web View Activity</string>
|
||||
<string name="StringUtils_sender"> (%1$s)</string>
|
||||
<string name="find_device_you_found_it">You found it!</string>
|
||||
<string name="find_lost_device_you_found_it">Found it!</string>
|
||||
<string name="miband2_prefs_timeformat">Mi2: Time format</string>
|
||||
<string name="mi2_fw_installhandler_fw53_hint">You need to install version %1$s before installing this firmware!</string>
|
||||
<string name="mi2_enable_text_notifications">Text notifications</string>
|
||||
|
Loading…
Reference in New Issue
Block a user