Skip to content

Commit

Permalink
Merge pull request #1616 from ruuvi/beta
Browse files Browse the repository at this point in the history
v2.3.1
  • Loading branch information
priyonto authored Aug 26, 2023
2 parents 9a8aaa2 + 7397005 commit 69a9f2e
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,12 @@ class DiscoverTableHeaderView: UIView {

extension DiscoverTableHeaderView {
func handleNFCButtonViewVisibility(show: Bool) {
nfcButtonTopConstraint.isActive = show
nfcButtonBottomConstraint.isActive = show
if isBluetoothPermissionGranted && isNFCAvailable {
nfcButtonTopConstraint.isActive = show
nfcButtonBottomConstraint.isActive = show
nfcButton.isHidden = !show
}
descriptionLabelBottomConstraint.isActive = !show
nfcButton.isHidden = !show
let addSensorString: String = addSensorDescriptionKey.localized(for: Self.self)
let addSensorViaNFCString = addSensorViaNFCKey.localized(for: Self.self)
let descriptionString =
Expand Down
2 changes: 1 addition & 1 deletion station.localization
40 changes: 20 additions & 20 deletions station.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -6369,7 +6369,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 4MUYJ4YYH4;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
Expand All @@ -6379,7 +6379,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
OTHER_SWIFT_FLAGS = "$(inherited) -D COCOAPODS -D DEVELOPMENT";
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -6401,7 +6401,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 4MUYJ4YYH4;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
Expand All @@ -6411,7 +6411,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
OTHER_SWIFT_FLAGS = "$(inherited) -D COCOAPODS";
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -6433,7 +6433,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEVELOPMENT_TEAM = 4MUYJ4YYH4;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -6446,7 +6446,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station.widgets;
Expand All @@ -6470,7 +6470,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEVELOPMENT_TEAM = 4MUYJ4YYH4;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -6483,7 +6483,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station.widgets;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -6505,7 +6505,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEVELOPMENT_TEAM = 4MUYJ4YYH4;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -6518,7 +6518,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station.intents;
Expand All @@ -6541,7 +6541,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEVELOPMENT_TEAM = 4MUYJ4YYH4;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -6554,7 +6554,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station.intents;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -6693,7 +6693,7 @@
CODE_SIGN_ENTITLEMENTS = station/station.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 4MUYJ4YYH4;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
Expand Down Expand Up @@ -6735,7 +6735,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
OTHER_SWIFT_FLAGS = "$(inherited) -D COCOAPODS";
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -6755,7 +6755,7 @@
CODE_SIGN_ENTITLEMENTS = station/station.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEVELOPMENT_TEAM = 4MUYJ4YYH4;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
INFOPLIST_FILE = "$(SRCROOT)/station/Resources/Plists/Info.plist";
Expand All @@ -6764,7 +6764,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
OTHER_SWIFT_FLAGS = "$(inherited) -D COCOAPODS";
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -6869,7 +6869,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -6882,7 +6882,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station.pnservice;
Expand All @@ -6904,7 +6904,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 398;
CURRENT_PROJECT_VERSION = 402;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 4MUYJ4YYH4;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -6917,7 +6917,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.3.0;
MARKETING_VERSION = 2.3.1;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.ruuvi.station.pnservice;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
2 changes: 1 addition & 1 deletion station/Resources/Plists/DevInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>398</string>
<string>402</string>
<key>FirebaseMessagingAutoInitEnabled</key>
<false/>
<key>LSRequiresIPhoneOS</key>
Expand Down
3 changes: 2 additions & 1 deletion station/Resources/Strings/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
"About.Privacy.header" = "Datenschutz-bestimmungen";
"About.Troubleshooting.contents" = "Hilfe bei der Verwendung der Ruuvi Station-Apps, Ruuvi-Produkte und des Ruuvi Cloud-Dienstes finden Sie in unserem Support-Center: ruuvi.com/support";
"About.Troubleshooting.header" = "Fehlerbehebung";
"Interval.Hour.string" = "Stunden";
"hours" = "Stunden";
"Interval.Days.string" = "Tage";
"TagSettings.AirHumidityAlert.title" = "Luftfeuchtigkeit (%@)";
"HumidityUnit.gm3.title" = "Absolut (g/m³)";
Expand Down Expand Up @@ -519,6 +519,7 @@ Ihr RuuviTag-Sensor ist einsatzbereit!";
"TagSettings.Share.title" = "Teilen";
"Menu.LoggedIn.title" = "Eingeloggt:";
"Interval.Day.string" = "Tag";
"hour" = "Stunde";
"TagSettings.tagNameTitleLabel.rename.text" = "Ihre Sensoren werden in alphabetischer Reihenfolge angezeigt.";
"On" = "An";
"Off" = "Aus";
Expand Down
3 changes: 2 additions & 1 deletion station/Resources/Strings/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ If you cannot see the Language option in the settings, make sure that you have a
"About.Privacy.header" = "Privacy policy";
"About.Troubleshooting.contents" = "Find help using the Ruuvi Station apps, Ruuvi products and Ruuvi Cloud service from our support center: ruuvi.com/support";
"About.Troubleshooting.header" = "Troubleshooting";
"Interval.Hour.string" = "Hours";
"hours" = "Hours";
"Interval.Days.string" = "Days";
"TagSettings.AirHumidityAlert.title" = "Air Humidity (%@)";
"HumidityUnit.gm3.title" = "Absolute (g/m³)";
Expand Down Expand Up @@ -520,6 +520,7 @@ Your RuuviTag sensor is ready for use!";
"TagSettings.Share.title" = "Share";
"Menu.LoggedIn.title" = "Signed in:";
"Interval.Day.string" = "Day";
"hour" = "Hour";
"TagSettings.tagNameTitleLabel.rename.text" = "Your sensors are displayed in alphabetical order.";
"On" = "On";
"Off" = "Off";
Expand Down
3 changes: 2 additions & 1 deletion station/Resources/Strings/fi.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Mikäli et näe Kieli-valintaa asetuksissa, varmista, että sinulla on vähintä
"About.Privacy.header" = "Tietosuojakäytäntö";
"About.Troubleshooting.contents" = "Löydä apua Ruuvi Station -sovellusten, Ruuvi-tuotteiden ja Ruuvi Cloud -palvelun käyttöön tukikeskuksestamme: ruuvi.com/fi/tuki";
"About.Troubleshooting.header" = "Vianetsintä";
"Interval.Hour.string" = "tuntia";
"hours" = "tuntia";
"Interval.Days.string" = "päivää";
"TagSettings.AirHumidityAlert.title" = "Ilmankosteus (%@)";
"HumidityUnit.gm3.title" = "Absoluuttinen (g/m³)";
Expand Down Expand Up @@ -520,6 +520,7 @@ RuuviTag on valmis käyttöön!";
"TagSettings.Share.title" = "Jaa";
"Menu.LoggedIn.title" = "Kirjautunut:";
"Interval.Day.string" = "päivä";
"hour" = "tunti";
"TagSettings.tagNameTitleLabel.rename.text" = "Anturisi asettuvat automaattisesti aakkosjärjestykseen.";
"On" = "Päällä";
"Off" = "Pois";
Expand Down
3 changes: 2 additions & 1 deletion station/Resources/Strings/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
"About.Privacy.header" = "Protection des données personnelles";
"About.Troubleshooting.contents" = "Trouvez de l'aide en utilisant les applications Ruuvi Station, les produits Ruuvi et le service Ruuvi Cloud depuis notre centre d'assistance : ruuvi.com/support";
"About.Troubleshooting.header" = "Dépannage technique";
"Interval.Hour.string" = "Heures";
"hours" = "Heures";
"Interval.Days.string" = "Jours";
"TagSettings.AirHumidityAlert.title" = "Humidité de l'air (%@)";
"HumidityUnit.gm3.title" = "Absolue (g/m³)";
Expand Down Expand Up @@ -519,6 +519,7 @@ RuuviTag est prêt à être utilisé !";
"TagSettings.Share.title" = "Partager";
"Menu.LoggedIn.title" = "Connecté :";
"Interval.Day.string" = "Jour";
"hour" = "Heure";
"TagSettings.tagNameTitleLabel.rename.text" = "Les capteurs sont dans l'ordre alphabétique.";
"On" = "Activé";
"Off" = "Désactivé";
Expand Down
3 changes: 2 additions & 1 deletion station/Resources/Strings/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ If you cannot see the Language option in the settings, make sure that you have a
"About.Privacy.header" = "Политика конфиденциальности";
"About.Troubleshooting.contents" = "Получите помощь по использованию приложений Ruuvi Station, продуктов Ruuvi и облачной службы Ruuvi в нашем центре поддержки: ruuvi.com/support";
"About.Troubleshooting.header" = "Решение проблем";
"Interval.Hour.string" = "Часов";
"hours" = "Часов";
"Interval.Days.string" = "Дней";
"TagSettings.AirHumidityAlert.title" = "Влажность воздуха (%@)";
"HumidityUnit.gm3.title" = "Абсолютная влажность (г/м³)";
Expand Down Expand Up @@ -520,6 +520,7 @@ If you cannot see the Language option in the settings, make sure that you have a
"TagSettings.Share.title" = "Поделиться";
"Menu.LoggedIn.title" = "Пользователь:";
"Interval.Day.string" = "день";
"hour" = "час";
"TagSettings.tagNameTitleLabel.rename.text" = "Датчики будут отсортированы в алфавитном порядке.";
"On" = "Вкл";
"Off" = "Выкл";
Expand Down
3 changes: 2 additions & 1 deletion station/Resources/Strings/sv.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Om du inte kan se språkalternativet i inställningarna, se till att du har lagt
"About.Privacy.header" = "Integritetspolicy";
"About.Troubleshooting.contents" = "Hitta hjälp med att använda Ruuvi Station-appar, Ruuvi-produkter och Ruuvi Cloud-tjänst från vårt supportcenter: ruuvi.com/support";
"About.Troubleshooting.header" = "Felsökning";
"Interval.Hour.string" = "Timmar";
"hours" = "Timmar";
"Interval.Days.string" = "Dagar";
"TagSettings.AirHumidityAlert.title" = "Luftfuktighet (%@)";
"HumidityUnit.gm3.title" = "Absolut (g/m³)";
Expand Down Expand Up @@ -520,6 +520,7 @@ RuuviTag-sensorn är redo att användas!";
"TagSettings.Share.title" = "Dela";
"Menu.LoggedIn.title" = "Inloggad:";
"Interval.Day.string" = "Dag";
"hour" = "Timme";
"TagSettings.tagNameTitleLabel.rename.text" = "Dina sensorer kommer att vara i alfabetisk ordning.";
"On" = "På";
"Off" = "Av";
Expand Down

0 comments on commit 69a9f2e

Please sign in to comment.