mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-05 17:57:03 +01:00
Merge branch 'master' into master
This commit is contained in:
commit
280a2f56e9
@ -228,6 +228,10 @@ public class GBApplication extends Application {
|
||||
logging.setupLogging(enabled);
|
||||
}
|
||||
|
||||
public static String getLogPath(){
|
||||
return logging.getLogPath();
|
||||
}
|
||||
|
||||
private void setupExceptionHandler() {
|
||||
LoggingExceptionHandler handler = new LoggingExceptionHandler(Thread.getDefaultUncaughtExceptionHandler());
|
||||
Thread.setDefaultUncaughtExceptionHandler(handler);
|
||||
|
@ -54,6 +54,13 @@ public abstract class Logging {
|
||||
}
|
||||
}
|
||||
|
||||
public String getLogPath() {
|
||||
if (fileLogger != null)
|
||||
return fileLogger.getFile();
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
public void debugLoggingConfiguration() {
|
||||
// For debugging problems with the logback configuration
|
||||
LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
|
||||
|
@ -17,12 +17,15 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
package nodomain.freeyourgadget.gadgetbridge.activities;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.NotificationManager;
|
||||
import android.app.PendingIntent;
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.support.v4.app.NavUtils;
|
||||
import android.support.v4.app.NotificationCompat;
|
||||
@ -39,6 +42,7 @@ import android.widget.Toast;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Objects;
|
||||
|
||||
@ -53,9 +57,9 @@ import nodomain.freeyourgadget.gadgetbridge.model.NotificationType;
|
||||
import nodomain.freeyourgadget.gadgetbridge.model.RecordedDataTypes;
|
||||
import nodomain.freeyourgadget.gadgetbridge.util.GB;
|
||||
|
||||
import static android.content.Intent.EXTRA_SUBJECT;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.util.GB.NOTIFICATION_CHANNEL_ID;
|
||||
|
||||
|
||||
public class DebugActivity extends AbstractGBActivity {
|
||||
private static final Logger LOG = LoggerFactory.getLogger(DebugActivity.class);
|
||||
|
||||
@ -235,12 +239,58 @@ public class DebugActivity extends AbstractGBActivity {
|
||||
testNewFunctionality();
|
||||
}
|
||||
});
|
||||
|
||||
Button shareLogButton = findViewById(R.id.shareLog);
|
||||
shareLogButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
showWarning();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void showWarning() {
|
||||
new AlertDialog.Builder(this)
|
||||
.setCancelable(true)
|
||||
.setTitle(R.string.warning)
|
||||
.setMessage(R.string.share_log_warning)
|
||||
.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
String fileName = GBApplication.getLogPath();
|
||||
if (fileName != null && fileName.length() > 0) {
|
||||
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
|
||||
emailIntent.setType("*/*");
|
||||
emailIntent.putExtra(EXTRA_SUBJECT, "Gadgetbridge log file");
|
||||
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(fileName)));
|
||||
startActivity(Intent.createChooser(emailIntent, "Share File"));
|
||||
}
|
||||
}
|
||||
})
|
||||
.setNegativeButton(R.string.Cancel, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
// do nothing
|
||||
}
|
||||
})
|
||||
.show();
|
||||
}
|
||||
|
||||
private void testNewFunctionality() {
|
||||
GBApplication.deviceService().onTestNewFunction();
|
||||
}
|
||||
|
||||
private void shareLog() {
|
||||
String fileName = GBApplication.getLogPath();
|
||||
if(fileName != null && fileName.length() > 0) {
|
||||
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
|
||||
emailIntent.setType("*/*");
|
||||
emailIntent.putExtra(EXTRA_SUBJECT, "Gadgetbridge log file");
|
||||
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(fileName)));
|
||||
startActivity(Intent.createChooser(emailIntent, "Share File"));
|
||||
}
|
||||
}
|
||||
|
||||
private void testNotification() {
|
||||
Intent notificationIntent = new Intent(getApplicationContext(), DebugActivity.class);
|
||||
notificationIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
|
@ -52,6 +52,7 @@ import nodomain.freeyourgadget.gadgetbridge.GBApplication;
|
||||
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||
import nodomain.freeyourgadget.gadgetbridge.database.PeriodicExporter;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.DeviceManager;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandPreferencesActivity;
|
||||
import nodomain.freeyourgadget.gadgetbridge.model.CannedMessagesSpec;
|
||||
import nodomain.freeyourgadget.gadgetbridge.util.AndroidUtils;
|
||||
@ -64,6 +65,11 @@ import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PR
|
||||
import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PREF_MI2_DISPLAY_ITEMS;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PREF_MI2_ENABLE_TEXT_NOTIFICATIONS;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PREF_MI3_BAND_SCREEN_UNLOCK;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PREF_MI3_NIGHT_MODE;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PREF_MI3_NIGHT_MODE_END;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PREF_MI3_NIGHT_MODE_OFF;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PREF_MI3_NIGHT_MODE_SCHEDULED;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandConst.PREF_MI3_NIGHT_MODE_START;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.model.ActivityUser.PREF_USER_HEIGHT_CM;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.model.ActivityUser.PREF_USER_SLEEP_DURATION;
|
||||
import static nodomain.freeyourgadget.gadgetbridge.model.ActivityUser.PREF_USER_STEPS_GOAL;
|
||||
@ -87,6 +93,8 @@ public class SettingsActivity extends AbstractSettingsActivity {
|
||||
protected void onPostCreate(Bundle savedInstanceState) {
|
||||
super.onPostCreate(savedInstanceState);
|
||||
|
||||
Prefs prefs = GBApplication.getPrefs();
|
||||
|
||||
Preference pref = findPreference("notifications_generic");
|
||||
pref.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
@ -419,6 +427,60 @@ public class SettingsActivity extends AbstractSettingsActivity {
|
||||
}
|
||||
});
|
||||
|
||||
String nightModeState = prefs.getString(MiBandConst.PREF_MI3_NIGHT_MODE, PREF_MI3_NIGHT_MODE_OFF);
|
||||
boolean nightModeScheduled = nightModeState.equals(PREF_MI3_NIGHT_MODE_SCHEDULED);
|
||||
|
||||
final Preference nightModeStart = findPreference(PREF_MI3_NIGHT_MODE_START);
|
||||
nightModeStart.setEnabled(nightModeScheduled);
|
||||
nightModeStart.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newVal) {
|
||||
invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
GBApplication.deviceService().onSendConfiguration(PREF_MI3_NIGHT_MODE_START);
|
||||
}
|
||||
});
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
final Preference nightModeEnd = findPreference(PREF_MI3_NIGHT_MODE_END);
|
||||
nightModeEnd.setEnabled(nightModeScheduled);
|
||||
nightModeEnd.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newVal) {
|
||||
invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
GBApplication.deviceService().onSendConfiguration(PREF_MI3_NIGHT_MODE_END);
|
||||
}
|
||||
});
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
final Preference nightMode = findPreference(PREF_MI3_NIGHT_MODE);
|
||||
nightMode.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newVal) {
|
||||
final boolean scheduled = PREF_MI3_NIGHT_MODE_SCHEDULED.equals(newVal.toString());
|
||||
|
||||
nightModeStart.setEnabled(scheduled);
|
||||
nightModeEnd.setEnabled(scheduled);
|
||||
|
||||
invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
GBApplication.deviceService().onSendConfiguration(PREF_MI3_NIGHT_MODE);
|
||||
}
|
||||
});
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
final Preference corDisplayItems = findPreference("cor_display_items");
|
||||
corDisplayItems.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
|
||||
@Override
|
||||
|
@ -24,6 +24,8 @@ import android.support.annotation.NonNull;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.GBApplication;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.InstallHandler;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.huami.HuamiConst;
|
||||
@ -78,4 +80,18 @@ public class MiBand3Coordinator extends HuamiCoordinator {
|
||||
Prefs prefs = GBApplication.getPrefs();
|
||||
return prefs.getBoolean(MiBandConst.PREF_MI3_BAND_SCREEN_UNLOCK, false);
|
||||
}
|
||||
|
||||
public static String getNightMode() {
|
||||
Prefs prefs = GBApplication.getPrefs();
|
||||
|
||||
return prefs.getString(MiBandConst.PREF_MI3_NIGHT_MODE, MiBandConst.PREF_MI3_NIGHT_MODE_OFF);
|
||||
}
|
||||
|
||||
public static Date getNightModeStart() {
|
||||
return getTimePreference( MiBandConst.PREF_MI3_NIGHT_MODE_START, "16:00");
|
||||
}
|
||||
|
||||
public static Date getNightModeEnd() {
|
||||
return getTimePreference(MiBandConst.PREF_MI3_NIGHT_MODE_END, "07:00");
|
||||
}
|
||||
}
|
||||
|
@ -25,4 +25,7 @@ public class MiBand3Service {
|
||||
public static final byte[] COMMAND_CHANGE_SCREENS = new byte[]{ENDPOINT_DISPLAY_ITEMS, DISPLAY_ITEM_BIT_CLOCK, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00};
|
||||
public static final byte[] COMMAND_ENABLE_BAND_SCREEN_UNLOCK = new byte[]{ENDPOINT_DISPLAY, 0x16, 0x00, 0x01};
|
||||
public static final byte[] COMMAND_DISABLE_BAND_SCREEN_UNLOCK = new byte[]{ENDPOINT_DISPLAY, 0x16, 0x00, 0x00};
|
||||
public static final byte[] COMMAND_NIGHT_MODE_OFF = new byte[]{0x1a, 0x00};
|
||||
public static final byte[] COMMAND_NIGHT_MODE_SUNSET = new byte[]{0x1a, 0x02};
|
||||
public static final byte[] COMMAND_NIGHT_MODE_SCHEDULED = new byte[]{0x1a, 0x01, 0x10, 0x00, 0x07, 0x00};
|
||||
}
|
||||
|
@ -70,6 +70,12 @@ public final class MiBandConst {
|
||||
public static final String PREF_MIBAND_SETUP_BT_PAIRING = "mi_setup_bt_pairing";
|
||||
|
||||
public static final String PREF_MI3_BAND_SCREEN_UNLOCK = "mi3_band_screen_unlock";
|
||||
public static final String PREF_MI3_NIGHT_MODE = "mi3_night_mode";
|
||||
public static final String PREF_MI3_NIGHT_MODE_START = "mi3_night_mode_start";
|
||||
public static final String PREF_MI3_NIGHT_MODE_END = "mi3_night_mode_end";
|
||||
public static final String PREF_MI3_NIGHT_MODE_OFF = "off";
|
||||
public static final String PREF_MI3_NIGHT_MODE_SUNSET = "sunset";
|
||||
public static final String PREF_MI3_NIGHT_MODE_SCHEDULED = "scheduled";
|
||||
|
||||
public static final String ORIGIN_INCOMING_CALL = "incoming_call";
|
||||
public static final String ORIGIN_ALARM_CLOCK = "alarm_clock";
|
||||
|
@ -24,6 +24,9 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
import java.util.GregorianCalendar;
|
||||
import java.util.Locale;
|
||||
import java.util.Set;
|
||||
|
||||
@ -94,6 +97,11 @@ public class MiBand3Support extends AmazfitBipSupport {
|
||||
case MiBandConst.PREF_MI3_BAND_SCREEN_UNLOCK:
|
||||
setBandScreenUnlock(builder);
|
||||
break;
|
||||
case MiBandConst.PREF_MI3_NIGHT_MODE:
|
||||
case MiBandConst.PREF_MI3_NIGHT_MODE_START:
|
||||
case MiBandConst.PREF_MI3_NIGHT_MODE_END:
|
||||
setNightMode(builder);
|
||||
break;
|
||||
default:
|
||||
super.onSendConfiguration(config);
|
||||
return;
|
||||
@ -140,11 +148,48 @@ public class MiBand3Support extends AmazfitBipSupport {
|
||||
return this;
|
||||
}
|
||||
|
||||
private MiBand3Support setNightMode(TransactionBuilder builder) {
|
||||
String nightMode = MiBand3Coordinator.getNightMode();
|
||||
LOG.info("Setting night mode to " + nightMode);
|
||||
|
||||
switch (nightMode) {
|
||||
case MiBandConst.PREF_MI3_NIGHT_MODE_SUNSET:
|
||||
builder.write(getCharacteristic(HuamiService.UUID_CHARACTERISTIC_3_CONFIGURATION), MiBand3Service.COMMAND_NIGHT_MODE_SUNSET);
|
||||
break;
|
||||
case MiBandConst.PREF_MI3_NIGHT_MODE_OFF:
|
||||
builder.write(getCharacteristic(HuamiService.UUID_CHARACTERISTIC_3_CONFIGURATION), MiBand3Service.COMMAND_NIGHT_MODE_OFF);
|
||||
break;
|
||||
case MiBandConst.PREF_MI3_NIGHT_MODE_SCHEDULED:
|
||||
byte[] cmd = MiBand3Service.COMMAND_NIGHT_MODE_SCHEDULED.clone();
|
||||
|
||||
Calendar calendar = GregorianCalendar.getInstance();
|
||||
|
||||
Date start = MiBand3Coordinator.getNightModeStart();
|
||||
calendar.setTime(start);
|
||||
cmd[2] = (byte) calendar.get(Calendar.HOUR_OF_DAY);
|
||||
cmd[3] = (byte) calendar.get(Calendar.MINUTE);
|
||||
|
||||
Date end = MiBand3Coordinator.getNightModeEnd();
|
||||
calendar.setTime(end);
|
||||
cmd[4] = (byte) calendar.get(Calendar.HOUR_OF_DAY);
|
||||
cmd[5] = (byte) calendar.get(Calendar.MINUTE);
|
||||
|
||||
builder.write(getCharacteristic(HuamiService.UUID_CHARACTERISTIC_3_CONFIGURATION), cmd);
|
||||
break;
|
||||
default:
|
||||
LOG.error("Invalid night mode: " + nightMode);
|
||||
break;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void phase2Initialize(TransactionBuilder builder) {
|
||||
super.phase2Initialize(builder);
|
||||
LOG.info("phase2Initialize...");
|
||||
setBandScreenUnlock(builder);
|
||||
setNightMode(builder);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -43,8 +43,13 @@ public class LanguageUtils {
|
||||
private static Map<Character, String> transliterateMap = new HashMap<Character, String>(){
|
||||
{
|
||||
//extended ASCII characters
|
||||
put('æ', "ae"); put('œ', "oe"); put('ª', "a"); put('º', "o"); put('«',"\""); put('»',"\"");
|
||||
|
||||
put('œ', "oe"); put('ª', "a"); put('º', "o"); put('«',"\""); put('»',"\"");
|
||||
|
||||
// Scandinavian characters
|
||||
put('Æ',"Ae"); put('æ',"ae");
|
||||
put('Ø',"Oe"); put('ø',"oe");
|
||||
put('Å',"Aa"); put('å',"aa");
|
||||
|
||||
//german characters
|
||||
put('ä',"ae"); put('ö',"oe"); put('ü',"ue");
|
||||
put('Ä',"Ae"); put('Ö',"Oe"); put('Ü',"Üe");
|
||||
|
@ -138,6 +138,13 @@
|
||||
grid:layout_columnSpan="2"
|
||||
grid:layout_gravity="fill_horizontal"
|
||||
android:text="Test New Functionality" />
|
||||
<Button
|
||||
android:id="@+id/shareLog"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
grid:layout_columnSpan="2"
|
||||
grid:layout_gravity="fill_horizontal"
|
||||
android:text="@string/share_log" />
|
||||
</android.support.v7.widget.GridLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources><string name="app_name">Gadgetbridge</string>
|
||||
<resources><string name="app_name">"Gadgetbridge "</string>
|
||||
|
||||
<string name="title_activity_controlcenter">Gadgetbridge</string>
|
||||
<string name="action_settings">Ρυθμίσεις</string>
|
||||
@ -36,9 +36,9 @@
|
||||
<string name="appmanager_health_deactivate">Απενεργοποίηση</string>
|
||||
<string name="appmanager_hrm_activate">Ενεργοποίηση μέτρησης υγείας</string>
|
||||
<string name="appmanager_hrm_deactivate">Απενεργοποίηση μέτρησης υγείας</string>
|
||||
<string name="appmanager_weather_activate">Ενεργοποίηση εφαρμογής καιρού</string>
|
||||
<string name="appmanager_weather_deactivate">Απενεργοποίηση εφαρμογής καιρού</string>
|
||||
<string name="appmanager_weather_install_provider">"Εγκαταστείστε την εφαρμογή ειδοποίησης καιρού"</string>
|
||||
<string name="appmanager_weather_activate">Ενεργοποίηση Εφαρμογής Καιρού</string>
|
||||
<string name="appmanager_weather_deactivate">Απενεργοποίηση Εφαρμογής Καιρού</string>
|
||||
<string name="appmanager_weather_install_provider">Εγκαταστείστε την εφαρμογή ειδοποίησης Καιρού</string>
|
||||
<string name="app_configure">Επιλογές</string>
|
||||
<string name="app_move_to_top">Μετακίνηση στη κορυφή</string>
|
||||
|
||||
@ -72,12 +72,12 @@
|
||||
\n
|
||||
\nΔΕΝ συνίσταται η εγκατάσταση του στο Mi Band σας!</string>
|
||||
<string name="title_activity_appmanager">Διαχειριστής εφαρμογών</string>
|
||||
<string name="miband_firmware_suggest_whitelist">Αν ακόμη θέλετε να προχωρήσετε και μετά όλα λειτουργούν κανονικά, παρακαλούμε ενημερώστε τους δημιουργούς του Gadgetbridge σχετικά με την %s έκδοση</string>
|
||||
<string name="miband_firmware_suggest_whitelist">Αν ακόμη θέλετε να προχωρήσετε και μετά όλα λειτουργούν κανονικά, παρακαλούμε ενημερώστε τους δημιουργούς του Gadgetbridge σχετικά με την %s έκδοση.</string>
|
||||
|
||||
<string name="title_activity_settings">Ρυθμίσεις</string>
|
||||
|
||||
<string name="pref_header_general">Γενικές ρυθμίσεις</string>
|
||||
<string name="pref_title_general_autoconnectonbluetooth">Σύνδεση με την συσκευή όταν το Bluetooth ενεργοποιείται</string>
|
||||
<string name="pref_title_general_autoconnectonbluetooth">Σύνδεση με την φορετή συσκευή όταν το Bluetooth στο κινητό ενεργοποιείται</string>
|
||||
<string name="pref_title_general_autostartonboot">Αυτόματη έναρξη</string>
|
||||
<string name="pref_title_general_autoreconnect">Αυτόματη επανασύνδεση</string>
|
||||
<string name="pref_title_audio_player">Προτιμώμενο πρόγραμμα ήχου</string>
|
||||
@ -86,7 +86,7 @@
|
||||
|
||||
<string name="pref_header_datetime">Ημερομηνία και ώρα</string>
|
||||
<string name="pref_title_datetime_syctimeonconnect">Συγχρονισμός ώρας</string>
|
||||
<string name="pref_summary_datetime_syctimeonconnect">Συγχρονισμός ώρας στην συσκευή όταν αυτή συνδέεται ή όταν αλλάζετε ζώνη ώρας</string>
|
||||
<string name="pref_summary_datetime_syctimeonconnect">Συγχρονισμός ώρας στη φορετή συσκευή όταν αυτή συνδέεται με το κινητό ή όταν αλλάζετε ζώνη ώρας</string>
|
||||
|
||||
<string name="pref_title_theme">Θέμα</string>
|
||||
<string name="pref_theme_light">Ανοιχτόχρωμο</string>
|
||||
@ -107,7 +107,7 @@
|
||||
<string name="pref_title_notifications_generic">Υποστήριξη γενικών ειδοποιήσεων</string>
|
||||
<string name="pref_title_whenscreenon">...επίσης όταν είναι ανοιχτή η οθόνη</string>
|
||||
<string name="pref_title_notification_filter">Μην Ενοχλείτε</string>
|
||||
<string name="pref_summary_notification_filter">Αποτροπή αποστολής ειδοποιήσεων όταν έχετε ενεργοποιήσει την λειτουργία Μην Ενοχλείτε</string>
|
||||
<string name="pref_summary_notification_filter">"Μη επιθυμητές ειδοποιήσεις δεν στελνονται σε αυτή τη λειτουργία "</string>
|
||||
<string name="pref_title_transliteration">Αλλαγή χαρακτήρων</string>
|
||||
<string name="pref_summary_transliteration">Ενεργοποιήστε αυτή την επιλογή αν η συσκευή σας δεν υποστηρίζει τις γραμματοσειρές της γλώσσας σας</string>
|
||||
|
||||
@ -313,8 +313,8 @@
|
||||
<string name="alarm_fri_short">Παρ</string>
|
||||
<string name="alarm_sat_short">Σαβ</string>
|
||||
<string name="alarm_smart_wakeup">Έξυπνο ξύπνημα</string>
|
||||
<string name="user_feedback_miband_set_alarms_failed">Υπήρξε λάθος στη ρύθμιση των ξυπνητηριών, παρακαλώ προσπαθήστε ξανά!</string>
|
||||
<string name="user_feedback_miband_set_alarms_ok">Τα ξυπνητήρια στάλθηκαν στη συσκευή!</string>
|
||||
<string name="user_feedback_miband_set_alarms_failed">Υπήρξε λάθος στη ρύθμιση των ξυπνητηριών, παρακαλώ προσπαθήστε ξανά.</string>
|
||||
<string name="user_feedback_miband_set_alarms_ok">Τα ξυπνητήρια στάλθηκαν στη συσκευή.</string>
|
||||
<string name="chart_no_data_synchronize">Χωρίς δεδομένα. Συγχρονισμός με τη συσκευή;</string>
|
||||
<string name="user_feedback_miband_activity_data_transfer">"Θα γίνει μεταφορά %1$s δεδομένων ξεκινώντας από %2$s"</string>
|
||||
<string name="miband_prefs_fitness_goal">Στόχος βημάτων ανά μέρα</string>
|
||||
@ -365,7 +365,7 @@
|
||||
<string name="pref_summary_keep_data_on_device">Θα κρατηθούν τα δεδομένα της δραστηριότητας στο Mi Band και μετά τον συγχρονισμό. Χρήσιμο αν το Gadgetbridge χρησιμοποιείται παράλληλα με άλλες εφαρμογές.</string>
|
||||
<string name="installhandler_firmware_name">%1$s: %2$s %3$s</string>
|
||||
<string name="pref_title_low_latency_fw_update">Χρήση της λειτουργίας χαμηλής καθυστέρησης για τις αναβαθμίσεις λογισμικού</string>
|
||||
<string name="pref_summary_low_latency_fw_update">Αυτό μπορεί να βοηθήσει για συσκευές που η αναβάθμιση λογισμικού αποτυγχάνει</string>
|
||||
<string name="pref_summary_low_latency_fw_update">Αυτό μπορεί να βοηθήσει για συσκευές που η αναβάθμιση λογισμικού αποτυγχάνει.</string>
|
||||
|
||||
<string name="live_activity_steps_history">Ιστορικό βημάτων</string>
|
||||
<string name="live_activity_current_steps_per_minute">Τρέχων ρυθμός βημάτων/λεπτό</string>
|
||||
@ -448,7 +448,7 @@
|
||||
<string name="live_activity_heart_rate">Σφυγμοί</string>
|
||||
|
||||
<string name="pref_title_pebble_health_store_raw">Αποθήκευση των ακατέργαστων εγγραφών στη βάση δεδομένων</string>
|
||||
<string name="pref_summary_pebble_health_store_raw">Αυτή η επιλογή θα αποθηκεύσει τα δεδομένα \"ως έχουν\" και θα είναι διαθέσιμα για ερμηνεία αργότερα. Η βάση δεδομένων θα ναι μεγαλύτερη σε αυτή τη περίπτωση!</string>
|
||||
<string name="pref_summary_pebble_health_store_raw">Με αυτή την επιλογή θα αποθηκευτούν τα δεδομένα \"ως έχουν\", μεγαλώνοντας τη χρήση της βάσης δεδομένων για να είναι διαθέσιμα για ερμηνεία αργότερα.</string>
|
||||
<string name="action_db_management">Διαχείριση βάσης δεδομένων</string>
|
||||
<string name="title_activity_db_management">Διαχείριση βάσης δεδομένων</string>
|
||||
<string name="activity_db_management_import_export_explanation">"Η λειτουργία της βάσης δεδομένων χρησιμοποιεί τον ακόλουθο φάκελο στη συσκευή σας.
|
||||
@ -479,7 +479,7 @@
|
||||
<string name="title_activity_vibration">Δόνηση</string>
|
||||
|
||||
<string name="title_activity_pebble_pairing">Σύζευξη Pebble</string>
|
||||
<string name="pebble_pairing_hint">Ένα παράθυρο σύζευξης θα εμφανιστεί στην Abdroid συσκευή σας. Αν αυτό δεν συμβεί, δείτε στη περιοχή ειδοποιήσεων και δεχθείτε την σύζευξη. Επίσης μετά δεχθείτε την σύζευξη και στο Pebble σας</string>
|
||||
<string name="pebble_pairing_hint">Ένα παράθυρο σύζευξης θα εμφανιστεί στην Abdroid συσκευή σας. Αν αυτό δεν συμβεί, δείτε στη περιοχή ειδοποιήσεων και δεχθείτε την σύζευξη. Επίσης μετά δεχθείτε την σύζευξη και στο Pebble σας.</string>
|
||||
|
||||
<string name="weather_notification_label">Βεβαιωθείτε ότι αυτό το θέμα είναι ενεργοποιημένο στην εφαρμογή του καιρού ώστε να λάβει τις πληροφορίες το Pebble.
|
||||
\n
|
||||
@ -649,4 +649,18 @@
|
||||
<string name="watch9_calibration_button">Αρχική ρύθμιση (καλιμπράρισμα)</string>
|
||||
<string name="title_activity_watch9_pairing">Σύζευξη Watch 9</string>
|
||||
<string name="title_activity_watch9_calibration">Αρχική ρύθμιση (καλιμπράρισμα) Watch 9</string>
|
||||
</resources>
|
||||
<string name="pref_title_notifications_timeout">Ελάχιστος χρόνος μεταξύ ειδοποιήσεων</string>
|
||||
<string name="no_limit">Χωρίς όριο</string>
|
||||
<string name="seconds_5">5 δευτερόλεπτα</string>
|
||||
<string name="seconds_10">10 δευτερόλεπτα</string>
|
||||
<string name="seconds_20">20 δευτερόλεπτα</string>
|
||||
<string name="seconds_30">30 δευτερόλεπτα</string>
|
||||
<string name="minutes_1">1 λεπτό</string>
|
||||
<string name="minutes_5">5 λεπτά</string>
|
||||
<string name="minutes_10">10 λεπτά</string>
|
||||
<string name="minutes_30">30 λεπτά</string>
|
||||
|
||||
<string name="you_slept">"Κοιμηθήκατε %1$s έως %2$s"</string>
|
||||
<string name="you_did_not_sleep">Δεν κοιμηθήκατε</string>
|
||||
<string name="norwegian_bokmal">Νορβηγικά (Bokmål)</string>
|
||||
</resources>
|
||||
|
@ -77,9 +77,9 @@
|
||||
<string name="pref_default">Vaikeväärtus</string>
|
||||
<string name="pref_header_datetime">Kuupäev ja kellaaeg</string>
|
||||
<string name="pref_title_datetime_syctimeonconnect">Sünkrooni aega</string>
|
||||
<string name="pref_summary_datetime_syctimeonconnect">Sünkrooni aeg seadmega ühendumise ajal ja kui aeg või ajatsoon muutub Androidis</string>
|
||||
<string name="pref_summary_datetime_syctimeonconnect">"Sünkrooni aeg seadmega ühendumise ajal või kui Androidis aeg või ajatsoon muutub "</string>
|
||||
|
||||
<string name="miband_firmware_suggest_whitelist">Kui te siiski soovite jätkata ja seade jätkab tööd ka hiljem palun andke Gadgetbridge\'i arendajatele teada, et nad lisaksid %s versiooni toetatud püsivarade nimekirja</string>
|
||||
<string name="miband_firmware_suggest_whitelist">Kui te siiski soovite jätkata ja seade jätkab tööd ka hiljem palun andke Gadgetbridge\'i arendajatele teada, et nad lisaksid %s versiooni toetatud püsivarade nimekirja.</string>
|
||||
|
||||
<string name="pref_title_charts_swipe">Luba viiped vasakule/paremale graafikute vaates</string>
|
||||
|
||||
@ -116,7 +116,7 @@
|
||||
<string name="pref_summary_minimize_priority_off">Olekuriba ikooni ja lukustusekraani märguandeid kuvatakse</string>
|
||||
<string name="pref_summary_minimize_priority_on">Olekuriba ikoon ja lukustuserkaani märguanded on peidetud</string>
|
||||
|
||||
<string name="pref_summary_notifications_pebblemsg">Tugi rakendustele, mis saadavad PebbleKit kaudu märguandeid Pebblele.</string>
|
||||
<string name="pref_summary_notifications_pebblemsg">Tugi rakendustele, mis saadavad PebbleKit\'i kaudu märguandeid Pebble\'le.</string>
|
||||
<string name="pref_title_whenscreenon">...ka sisse lülitatud ekraaniga</string>
|
||||
<string name="pref_summary_notification_filter">Peata soovimatute märguannete saatmine \"Ära sega\" režiimis</string>
|
||||
<string name="pref_summary_transliteration">Luba see, kui su seadmel puudub su keele fondi tugi</string>
|
||||
@ -140,8 +140,8 @@
|
||||
<string name="controlcenter_calibrate_device">Kalibreeri seade</string>
|
||||
|
||||
|
||||
<string name="blacklist_all_for_notifications">Lisa kõik teatised musta nimekirja</string>
|
||||
<string name="whitelist_all_for_notifications">Lisa kõik teatised valgesse nimekirja</string>
|
||||
<string name="blacklist_all_for_notifications">Lisa kõikide nende teatised musta nimekirja</string>
|
||||
<string name="whitelist_all_for_notifications">Lisa kõikide nende teatised valgesse nimekirja</string>
|
||||
|
||||
|
||||
<string name="fw_upgrade_notice_miband3">Te kavatsete installida %s püsivara enda Mi Band 3le.
|
||||
@ -155,7 +155,7 @@
|
||||
<string name="pref_title_pebble_sync_morpheuz">Sünkrooni Morpheuz</string>
|
||||
|
||||
<string name="pref_title_enable_outgoing_call">Toeta väljaminevaid kõnesid</string>
|
||||
<string name="pref_summary_enable_outgoing_call">Selle valiku väljalülitamine lülitab välja ka Pebble 2/LE värisemise väljaminevate kõnede puhul.</string>
|
||||
<string name="pref_summary_enable_outgoing_call">Selle valiku väljalülitamine lülitab välja ka Pebble 2/LE värisemise väljaminevate kõnede puhul</string>
|
||||
|
||||
<string name="pref_title_enable_pebblekit">Luba kolmanda osapoolte rakenduste ligipääs</string>
|
||||
<string name="pref_summary_enable_pebblekit">Lülita sisse eksperimentaalne PebbleKit\'i kasutavate rakenduste tugi</string>
|
||||
@ -187,8 +187,15 @@
|
||||
<string name="pref_title_pebble_forceprotocol">Sunniviisiliselt kasuta teatiste protokolli</string>
|
||||
<string name="pref_summary_pebble_forceprotocol">See valik sunnib kõige uuema teatiste protokolli kasutamise vastavalt püsivara versioonile. KASUTA AINULT KUI SA TEAD MIDA SA TEED!</string>
|
||||
<string name="pref_title_pebble_forceuntested">Lülita sisse testimata funktsioonid</string>
|
||||
<string name="pref_summary_pebble_forceuntested">Lülita sisse testimata funktsioonid. LÜLITA SISSE AINULT SIIS KUI SA TEAD MIDA SA TEED!</string>
|
||||
<string name="pref_summary_pebble_forceuntested">Lülita sisse testimata funktsioonid. TEA, MIDA SA TEED!</string>
|
||||
<string name="pref_title_pebble_forcele">Alati eelista Bluetooth LE\'d</string>
|
||||
<string name="pref_auto_fetch_summary">Allalaadimine käivitatakse ekraani lahtilukustamise ajal. Töötab ainult sellel juhul kui lukustusmehhanism on seatud!</string>
|
||||
<string name="DEVINFO_HR_VER">"Pulss: "</string>
|
||||
<string name="pref_title_notifications_timeout">Lühim aeg teavituste vahel</string>
|
||||
<string name="pref_summary_pebble_forcele">Kasuta eksperimentaalset Pebble LE tuge kõikide Pebble\'de jaoks tavalise Bluetoothi asemel. See nõuab sidumist tavalise Bluetoothi kaudu ja seejärel Bluetooth LE sidumist</string>
|
||||
<string name="pref_title_pebble_mtu_limit">Pebble 2/LE GATT MTU limiit</string>
|
||||
<string name="pref_summary_pebble_mtu_limit">Kui Pebble 2/Pebble LE ei taha ootuspäraselt töötada proovi seada MTUle limiit vahemikus 20-512</string>
|
||||
<string name="pref_title_pebble_enable_applogs">Lülita sisse kellarakenduste logimine</string>
|
||||
<string name="pref_title_pebble_gatt_clientonly">Ainult GATT klient</string>
|
||||
<string name="pref_summary_pebble_gatt_clientonly">See on ainult Pebble 2le ja eksperimentaalne, katseta kui on ilmnenud ühenduvusprobleeme</string>
|
||||
</resources>
|
||||
|
@ -397,4 +397,6 @@
|
||||
<string name="discovery_pair_question">Válaszd ki a Párosítást az eszköz párosításához. Ha ez nem sikerül, próbáld meg újra párosítás nélkül.</string>
|
||||
<string name="discovery_yes_pair">Párosítás</string>
|
||||
<string name="discovery_dont_pair">Nem párosított</string>
|
||||
</resources>
|
||||
<string name="action_donate">Támogatás</string>
|
||||
<string name="controlcenter_connect">Csatlakoztatás</string>
|
||||
</resources>
|
||||
|
@ -279,7 +279,7 @@
|
||||
|
||||
<string name="vibration_profile_staccato">Staccato</string>
|
||||
<string name="vibration_profile_short">Kort</string>
|
||||
<string name="vibration_profile_medium">Medium</string>
|
||||
<string name="vibration_profile_medium">Middel</string>
|
||||
<string name="vibration_profile_long">Lang</string>
|
||||
<string name="vibration_profile_waterdrop">Waterdruppel</string>
|
||||
<string name="vibration_profile_ring">Ring</string>
|
||||
@ -425,7 +425,7 @@
|
||||
<string name="traditional_chinese">Traditioneel Chinees</string>
|
||||
<string name="english">Engels</string>
|
||||
|
||||
<string name="FetchActivityOperation_about_to_transfer_since">Op het punt om data over te zetten sinds %1$s</string>
|
||||
<string name="FetchActivityOperation_about_to_transfer_since">Op het punt om data over te zetten vanaf %1$s</string>
|
||||
|
||||
<string name="waiting_for_reconnect">Wachten om opnieuw te verbinden</string>
|
||||
|
||||
@ -601,4 +601,34 @@
|
||||
<string name="menuitem_compass">Kompas</string>
|
||||
<string name="menuitem_settings">Instellingen</string>
|
||||
<string name="menuitem_alipay">Alipay</string>
|
||||
</resources>
|
||||
<string name="controlcenter_calibrate_device">Kalibreer apparaat</string>
|
||||
|
||||
|
||||
<string name="preferences_id115_settings">ID115 instellingen</string>
|
||||
<string name="prefs_screen_orientation">Scherm orientatie</string>
|
||||
|
||||
<string name="preferences_miband2_settings">Mi Band 2 instellingen</string>
|
||||
<string name="preferences_miband3_settings">Mi Band 3 instellingen</string>
|
||||
<string name="preferences_amazfitcor_settings">Amazfit Cor instellingen</string>s
|
||||
<string name="horizontal">Horizontaal</string>
|
||||
<string name="vertical">Vertikaal</string>
|
||||
<string name="watch9_pairing_tap_hint">Wanneer het horloge trilt, schud hem of druk op de knop.</string>
|
||||
|
||||
<string name="you_slept">Je sliep van %1$s tot %2$s</string>
|
||||
<string name="you_did_not_sleep">Je hebt niet geslapen</string>
|
||||
<string name="mi3_prefs_band_screen_unlock">Band scherm vrijgeven</string>
|
||||
<string name="mi3_prefs_band_screen_unlock_summary">Veeg omhoog om het scherm vrij te geven</string>
|
||||
<string name="norwegian_bokmal">Noors</string>
|
||||
<string name="russian">Russisch</string>
|
||||
<string name="german">Duits</string>
|
||||
<string name="italian">Italiaans</string>
|
||||
<string name="french">Frans</string>
|
||||
<string name="polish">Pools</string>
|
||||
<string name="korean">Koreaans</string>
|
||||
<string name="japanese">Japans</string>
|
||||
|
||||
<string name="reset_index">Herstel ophaal datum</string>
|
||||
|
||||
<string name="devicetype_mykronoz_zetime">MyKronoz ZeTime</string>
|
||||
<string name="menuitem_notifications">Notificaties</string>
|
||||
</resources>
|
||||
|
@ -522,7 +522,7 @@
|
||||
<string name="devicetype_amazfit_cor">Amazfit Cor</string>
|
||||
<string name="menuitem_shortcut_alipay">Alipay (ярлык)</string>
|
||||
<string name="menuitem_alipay">Alipay</string>
|
||||
<string name="on">Вкл.</string>
|
||||
<string name="on">Вкл.</string>
|
||||
<string name="select_all">Выбрать все</string>
|
||||
<string name="share">Поделиться</string>
|
||||
<string name="kind_firmware">Прошивка</string>
|
||||
@ -573,7 +573,7 @@
|
||||
<string name="preferences_miband2_settings">Настройки Mi Band 2</string>
|
||||
<string name="preferences_miband3_settings">Настройки Mi Band 3</string>
|
||||
<string name="menuitem_more">Ещё</string>
|
||||
<string name="menuitem_music">Музыка</string>
|
||||
<string name="menuitem_music">Музыка</string>
|
||||
<string name="controlcenter_calibrate_device">Калибровать устройство</string>
|
||||
|
||||
|
||||
@ -588,15 +588,16 @@
|
||||
<string name="watch9_calibration_button">Калибровка</string>
|
||||
<string name="title_activity_watch9_pairing">Сопряжение Watch 9</string>
|
||||
<string name="title_activity_watch9_calibration">Калибровка Watch 9</string>
|
||||
<string name="mi3_prefs_band_screen_unlock">Разблокировать экран устройства</string>
|
||||
<string name="mi3_prefs_band_screen_unlock">Разблокировать экран устройства</string>
|
||||
<string name="mi3_prefs_band_screen_unlock_summary">Смахните вверх, чтобы разблокировать экран устройства</string>
|
||||
|
||||
<string name="german">Немецкий язык</string>
|
||||
<string name="italian">Итальянский язык</string>
|
||||
<string name="french">Французский язык</string>
|
||||
<string name="polish">Польский язык</string>
|
||||
<string name="korean">Корейский язык</string>
|
||||
<string name="japanese">Японский язык</string>
|
||||
|
||||
<string name="norwegian_bokmal">Норвежский (литературный)</string>
|
||||
</resources>
|
||||
<string name="share_log">Поделиться лог-файлом</string>
|
||||
<string name="share_log_warning">Файлы журнала Gadgetbridge могут содержать личную информацию, например уникальные идентификаторы: (устройство, MAC-адрес), предпочтения в музыке и т.д. Рассмотрите возможность редактирования файла и удаления этой информации перед отправкой файла общедоступное место.</string>
|
||||
<string name="warning">Внимание!</string>
|
||||
</resources>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<string name="app_name">Gadgetbridge</string>
|
||||
<string name="title_activity_controlcenter">Gadgetbridge</string>
|
||||
<string name="action_settings">Налаштування</string>
|
||||
<string name="action_debug">Зневадження</string>
|
||||
<string name="action_debug">Відладка</string>
|
||||
<string name="action_quit">Вихід</string>
|
||||
<string name="controlcenter_fetch_activity_data">Синхронізувати</string>
|
||||
<string name="controlcenter_start_sleepmonitor">Аналіз сну (АЛЬФА)</string>
|
||||
@ -320,4 +320,67 @@
|
||||
<string name="miband2_prefs_dateformat">Mi2: Формат дати</string>
|
||||
<string name="DEVINFO_HR_VER">"HR: "</string>
|
||||
<string name="menuitem_alipay">Alipay</string>
|
||||
</resources>
|
||||
<string name="controlcenter_calibrate_device">Калібрувати пристрій</string>
|
||||
|
||||
|
||||
<string name="pref_title_notifications_timeout">Мінімальний час між сповіщеннями</string>
|
||||
<string name="pref_title_autoremove_notifications">Автоматично видаляти відхилені сповіщення</string>
|
||||
<string name="pref_summary_autoremove_notifications">Сповіщення автоматично видаляються з Pebble коли звільняються з Android пристрою</string>
|
||||
|
||||
<string name="pref_title_pebble_privacy_mode">Приватний режим</string>
|
||||
<string name="pref_pebble_privacy_mode_off">Звичайні сповіщення</string>
|
||||
<string name="pref_pebble_privacy_mode_complete">Показувати лише іконку сповіщення</string>
|
||||
|
||||
<string name="pref_title_location_aquire">Отримати місцезнаходження</string>
|
||||
<string name="pref_title_location_keep_uptodate">Оновлювати місцезнаходження</string>
|
||||
<string name="pref_summary_location_keep_uptodate">Спробувати отримати поточне місцезнаходження під час виконання, використовувати збережене місце у випадку невдачі</string>
|
||||
|
||||
<string name="toast_enable_networklocationprovider">Будь ласка, включіть місце розташування мережі</string>
|
||||
<string name="toast_aqurired_networklocation">місцезнаходження визначено</string>
|
||||
|
||||
<string name="pref_title_pebble_enable_applogs">Увімкнути логування додатку</string>
|
||||
<string name="pref_title_pebble_enable_bgjs">Увімкнути фоновий JS</string>
|
||||
<string name="prefs_title_all_day_heart_rate">Вимірювання серцевого ритму протягом дня</string>
|
||||
<string name="prefs_screen_orientation">Орієнтація екрана</string>
|
||||
|
||||
<string name="pref_title_auto_export_enabled">Автоматичний експорт увімкнено</string>
|
||||
<string name="tap_a_device_to_connect">Натисніть на пристрій для підключення</string>
|
||||
<string name="preferences_miband2_settings">Налаштування Mi Band 2</string>
|
||||
<string name="preferences_miband3_settings">Налаштування Mi Band 3</string>
|
||||
<string name="preferences_amazfitbip_settings">Налаштування Amazfit Bip</string>
|
||||
<string name="horizontal">Горизонтально</string>
|
||||
<string name="vertical">Вертикально</string>
|
||||
<string name="vibration_try">Спробувати</string>
|
||||
<string name="pref_screen_notification_profile_email">E-mail повідомлення</string>
|
||||
<string name="interval_one_minute">раз на хвилину</string>
|
||||
<string name="interval_five_minutes">кожні 5 хвилин</string>
|
||||
<string name="interval_ten_minutes">кожні 10 хвилин</string>
|
||||
<string name="interval_thirty_minutes">кожні 30 хвилин</string>
|
||||
<string name="interval_one_hour">раз на годину</string>
|
||||
|
||||
<string name="stats_y_axis_label">Кроки на хвилину</string>
|
||||
|
||||
<string name="calories">Калорії</string>
|
||||
<string name="distance">Відстань</string>
|
||||
<string name="clock">Годинник</string>
|
||||
<string name="heart_rate">Пульс</string>
|
||||
<string name="battery">Акумулятор</string>
|
||||
|
||||
<string name="no_limit">Без обмежень</string>
|
||||
<string name="seconds_5">5 секунд</string>
|
||||
<string name="seconds_10">10 секунд</string>
|
||||
<string name="seconds_20">20 секунд</string>
|
||||
<string name="seconds_30">30 секунд</string>
|
||||
<string name="minutes_1">1 хвилина</string>
|
||||
<string name="minutes_5">5 хвилин</string>
|
||||
<string name="minutes_10">10 хвилин</string>
|
||||
<string name="minutes_30">30 хвилин</string>
|
||||
|
||||
<string name="pref_summary_low_latency_fw_update">Це може допомогти на пристроях, де прошивання прошивки не вдається.</string>
|
||||
|
||||
<string name="you_did_not_sleep">Ви не спали</string>
|
||||
<string name="miband_prefs_reserve_alarm_calendar">Сигнали для резервування для майбутніх подій</string>
|
||||
<string name="miband_prefs_hr_sleep_detection">Використовувати датчик пульсу для поліпшення виявлення сну</string>
|
||||
<string name="dateformat_time">Час</string>
|
||||
<string name="dateformat_date_time">Дата і час</string>
|
||||
</resources>
|
||||
|
@ -170,6 +170,21 @@
|
||||
<item>@string/p_scheduled</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="mi3_night_mode">
|
||||
<item>@string/off</item>
|
||||
<!--
|
||||
<item>@string/mi3_night_mode_sunset</item>
|
||||
-->
|
||||
<item>@string/mi2_dnd_scheduled</item>
|
||||
</string-array>
|
||||
<string-array name="mi3_night_mode_values">
|
||||
<item>@string/p_off</item>
|
||||
<!--
|
||||
<item>@string/p_sunset</item>
|
||||
-->
|
||||
<item>@string/p_scheduled</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_mi2_display_items">
|
||||
<item>@string/chart_steps</item>
|
||||
<item>@string/distance</item>
|
||||
|
@ -445,6 +445,9 @@
|
||||
<string name="mi2_prefs_do_not_disturb_end">End time</string>
|
||||
<string name="mi3_prefs_band_screen_unlock">Band screen unlock"</string>
|
||||
<string name="mi3_prefs_band_screen_unlock_summary">Swipe up to unlock the band\'s screen</string>
|
||||
<string name="mi3_prefs_night_mode">Night mode</string>
|
||||
<string name="mi3_prefs_night_mode_summary">Lower band screen brightness automatically at night</string>
|
||||
|
||||
<string name="automatic">Automatic</string>
|
||||
<string name="simplified_chinese">Simplified Chinese</string>
|
||||
<string name="traditional_chinese">Traditional Chinese</string>
|
||||
@ -511,6 +514,7 @@
|
||||
<string name="dbmanagementactivity_overwrite">Overwrite</string>
|
||||
<string name="Cancel">Cancel</string>
|
||||
<string name="Delete">Delete</string>
|
||||
<string name="ok">Ok</string>
|
||||
|
||||
<!-- Strings related to Vibration Activity -->
|
||||
<string name="title_activity_vibration">Vibration</string>
|
||||
@ -542,6 +546,7 @@
|
||||
<string name="on">On</string>
|
||||
<string name="off">Off</string>
|
||||
<string name="mi2_dnd_off">Off</string>
|
||||
<string name="mi3_night_mode_sunset">At sunset</string>
|
||||
<string name="mi2_dnd_automatic">Automatic (sleep detection)</string>
|
||||
<string name="mi2_dnd_scheduled">Scheduled (time interval)</string>
|
||||
<string name="discovery_attempting_to_pair">Attempting to pair with %1$s</string>
|
||||
@ -634,4 +639,7 @@
|
||||
<string name="pref_title_contextual_arabic">Contextual Arabic</string>
|
||||
<string name="pref_summary_contextual_arabic">Enable this to support contextual Arabic</string>
|
||||
<string name="preferences_rtl_settings">Right To Left Support</string>
|
||||
<string name="share_log">Share log</string>
|
||||
<string name="share_log_warning">Please keep in mind Gadgetbridge log files may contain lots of personal information, including but not limited to health data, unique identifiers (such as a device MAC address), music preferences, etc. Consider editing the file and removing this information before sending the file to a public issue report.</string>
|
||||
<string name="warning">Warning!</string>
|
||||
</resources>
|
||||
|
@ -35,6 +35,7 @@
|
||||
|
||||
<item name="p_off" type="string">off</item>
|
||||
<item name="p_on" type="string">on</item>
|
||||
<item name="p_sunset" type="string">sunset</item>
|
||||
<item name="p_automatic" type="string">automatic</item>
|
||||
<item name="p_scheduled" type="string">scheduled</item>
|
||||
|
||||
|
@ -276,6 +276,33 @@
|
||||
android:key="miband3_display_items"
|
||||
android:summary="@string/mi2_prefs_display_items_summary"
|
||||
android:title="@string/mi2_prefs_display_items"/>
|
||||
<PreferenceScreen
|
||||
android:persistent="false"
|
||||
android:title="@string/mi3_prefs_night_mode"
|
||||
android:summary="@string/mi3_prefs_night_mode_summary">
|
||||
|
||||
<!-- workaround for missing toolbar -->
|
||||
<PreferenceCategory android:title="@string/mi3_prefs_night_mode" />
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="@string/p_off"
|
||||
android:entries="@array/mi3_night_mode"
|
||||
android:entryValues="@array/mi3_night_mode_values"
|
||||
android:key="mi3_night_mode"
|
||||
android:summary="%s"
|
||||
android:title="@string/mi3_prefs_night_mode" />
|
||||
|
||||
<nodomain.freeyourgadget.gadgetbridge.util.TimePreference
|
||||
android:defaultValue="16:00"
|
||||
android:key="mi3_night_mode_start"
|
||||
android:title="@string/mi2_prefs_do_not_disturb_start" />
|
||||
|
||||
<nodomain.freeyourgadget.gadgetbridge.util.TimePreference
|
||||
android:defaultValue="7:00"
|
||||
android:key="mi3_night_mode_end"
|
||||
android:title="@string/mi2_prefs_do_not_disturb_end" />
|
||||
|
||||
</PreferenceScreen>
|
||||
</PreferenceScreen>
|
||||
<PreferenceScreen
|
||||
android:icon="@drawable/ic_device_hplus"
|
||||
|
Loading…
Reference in New Issue
Block a user