Skip to content

Commit

Permalink
Merge pull request #8 from slovensko-digital/texts-cleanup
Browse files Browse the repository at this point in the history
Some cleanup
  • Loading branch information
celuchmarek authored Jun 14, 2024
2 parents fc6544e + dedec01 commit b40adcb
Show file tree
Hide file tree
Showing 57 changed files with 161 additions and 132 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Changelog
## 2024-06-14 - v1.0.0(30)

- Update Android and iOS icons
- Update texts
- Set default signatureType without TimeStamp

## 2024-06-13 - v1.0.0(29)

- Fix Signature Type setting UX
Expand Down
Binary file modified android/app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
</layer-list>
30 changes: 9 additions & 21 deletions android/app/src/main/res/drawable/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:pathData="M0,0h1024v1024h-1024z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="512"
android:startY="82"
android:endX="512"
android:endY="943"
android:type="linear">
<item android:offset="0" android:color="#FFF5F5F6"/>
<item android:offset="1" android:color="#FFEEEEF1"/>
</gradient>
</aapt:attr>
</path>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="M0,0h108v108h-108z"
android:fillColor="#F0F0F0"/>
</vector>
36 changes: 19 additions & 17 deletions android/app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<group android:scaleX="0.75"
android:scaleY="0.75"
android:translateX="128"
android:translateY="128">
<path
android:pathData="m422,460.6 l-9.6,36h83.4l-9,-36c-5.2,-19.6 -10.6,-40.4 -16.2,-62.4 -5.2,-22 -10.4,-43.2 -15.6,-63.6h-2.4c-4.8,20.8 -9.8,42.2 -15,64.2 -4.8,21.6 -10,42.2 -15.6,61.8zM280.4,658.6 L402.8,267.4h106.2l122.4,391.2h-93.6l-24,-93h-119.4l-24,93z"
android:fillColor="#000"/>
<path
android:pathData="M267,703.6h490v53h-490z"
android:fillColor="#fd0"/>
</group>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="0.61"
android:scaleY="0.61"
android:translateX="21.06"
android:translateY="21.06">
<path
android:pathData="M28.27,87.33L87.33,87.33"
android:strokeWidth="7.59375"
android:fillColor="#00000000"
android:strokeColor="#FFDF0A"/>
<path
android:pathData="M49.36,51.78L48.01,56.84H59.74L58.47,51.78C57.74,49.03 56.98,46.1 56.19,43.01C55.46,39.91 54.73,36.93 54,34.06H53.66C52.99,36.99 52.28,40 51.55,43.09C50.88,46.13 50.15,49.03 49.36,51.78ZM29.45,79.63L46.66,24.61H61.59L78.81,79.63H65.64L62.27,66.55H45.48L42.1,79.63H29.45Z"
android:fillColor="#000000"/>
</group>
</vector>
2 changes: 1 addition & 1 deletion android/app/src/main/res/drawable/launch_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
</layer-list>
8 changes: 4 additions & 4 deletions android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
118 changes: 56 additions & 62 deletions ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,122 +1,116 @@
{
"images" : [
{
"size" : "20x20",
"filename" : "[email protected]",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "2x",
"size" : "20x20"
},
{
"size" : "20x20",
"filename" : "[email protected]",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
"scale" : "3x",
"size" : "20x20"
},
{
"size" : "29x29",
"filename" : "[email protected]",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "1x"
"scale" : "2x",
"size" : "29x29"
},
{
"size" : "29x29",
"filename" : "[email protected]",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "3x",
"size" : "29x29"
},
{
"size" : "29x29",
"filename" : "[email protected]",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
"scale" : "2x",
"size" : "40x40"
},
{
"size" : "40x40",
"filename" : "[email protected]",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "3x",
"size" : "40x40"
},
{
"size" : "40x40",
"filename" : "[email protected]",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
"scale" : "2x",
"size" : "60x60"
},
{
"size" : "60x60",
"filename" : "[email protected]",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "3x",
"size" : "60x60"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
},
{
"size" : "20x20",
"filename" : "Ikonka-20.png",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "1x"
"scale" : "1x",
"size" : "20x20"
},
{
"size" : "20x20",
"filename" : "[email protected]",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "2x",
"size" : "20x20"
},
{
"size" : "29x29",
"filename" : "Ikonka-29.png",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "1x"
"scale" : "1x",
"size" : "29x29"
},
{
"size" : "29x29",
"filename" : "[email protected]",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "2x",
"size" : "29x29"
},
{
"size" : "40x40",
"filename" : "Ikonka-40.png",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "1x"
"scale" : "1x",
"size" : "40x40"
},
{
"size" : "40x40",
"filename" : "[email protected]",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "2x",
"size" : "40x40"
},
{
"size" : "76x76",
"filename" : "Ikonka-76.png",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "1x"
"scale" : "1x",
"size" : "76x76"
},
{
"size" : "76x76",
"filename" : "[email protected]",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "2x",
"size" : "76x76"
},
{
"size" : "83.5x83.5",
"filename" : "Ikonka-83.[email protected]",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"size" : "1024x1024",
"filename" : "Ikonka-1024.png",
"idiom" : "ios-marketing",
"filename" : "[email protected]",
"scale" : "1x"
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
6 changes: 6 additions & 0 deletions ios/Runner/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
2 changes: 1 addition & 1 deletion lib/data/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Settings with NotifiedPreferences implements ISettings {
@override
late final ValueNotifier<SignatureType> signatureType = createEnumSetting(
key: 'signing.signatureType',
initialValue: SignatureType.unset,
initialValue: SignatureType.withoutTimestamp,
values: SignatureType.values,
);

Expand Down
28 changes: 23 additions & 5 deletions lib/l10n/app_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,27 @@ abstract class AppLocalizations {
/// No description provided for @eidSDKLicenseText.
///
/// In sk, this message translates to:
/// **'Na komunikáciu s čipom občianskeho preukazu je použitá knižnica eID mSDK od Ministerstva vnútra Slovenskej republiky. Knižnica eID mSDK a podmienky jej použitia sú zverejnené na stránke\n„https://github.com/eidmsdk“.'**
/// **'Na komunikáciu s čipom občianskeho preukazu je použitá knižnica eID mSDK od Ministerstva vnútra Slovenskej republiky. Knižnica eID mSDK a podmienky jej použitia sú zverejnené na stránke https://github.com/eidmsdk'**
String get eidSDKLicenseText;

/// No description provided for @aboutText.
///
/// In sk, this message translates to:
/// **'Nový, krajší a lepší podpisovač teraz aj v mobile. Umožňuje elektronické podpisovanie dokumentov slovenským občianskym preukazom s NFC rozhraním podľa európskeho nariadenia eIDAS. Môžete ho používať komerčne aj nekomerčne a zadarmo.'**
String get aboutText;

/// No description provided for @aboutAuthorsText.
///
/// In sk, this message translates to:
/// **'Autormi tohto projektu sú freevision s.r.o., Služby Slovensko.Digital, s.r.o. a ďalší doborovoľníci. Prevádzku zabezpečuje Služby Slovensko.Digital, s.r.o.'**
String get aboutAuthorsText;

/// No description provided for @aboutGithubText.
///
/// In sk, this message translates to:
/// **'Zdrojové kódy sú dpstupné na GitHib-e organizácie Slovensko.Digital.'**
String get aboutGithubText;

/// No description provided for @thirdPartyLicensesLabel.
///
/// In sk, this message translates to:
Expand Down Expand Up @@ -400,13 +418,13 @@ abstract class AppLocalizations {
/// No description provided for @signRemoteDocumentBody1.
///
/// In sk, this message translates to:
/// **'Mobilom môžete podpisovať aj dokumenty nachádzajúce sa vo vašom počítači, či v informačnom systéme pomocou rozšírenia Autogramu vo vašom internetovom prehladávači.'**
/// **'Mobilom môžete podpisovať aj dokumenty nachádzajúce sa vo vašom počítači, či v informačnom systéme pomocou rozšírenia “Autogram na štátnych weboch“ vo vašom internetovom prehladávači.'**
String get signRemoteDocumentBody1;

/// No description provided for @signRemoteDocumentBody2.
///
/// In sk, this message translates to:
/// **'1. Pri podpisovaní v internetovom prehliadači vo vašom počítači vyberte možnosť “podísať v mobile”.\n2. Telefónom naskenujte QR kód z vášho počítača.'**
/// **'1. Pri podpisovaní v internetovom prehliadači vo vašom počítači vyberte možnosť “Podpísať mobilom”.\n2. Telefónom naskenujte QR kód z vášho počítača.'**
String get signRemoteDocumentBody2;

/// No description provided for @openDocumentTitle.
Expand Down Expand Up @@ -460,7 +478,7 @@ abstract class AppLocalizations {
/// No description provided for @selectSigningCertificateBody.
///
/// In sk, this message translates to:
/// **'Na podpisovanie mobilom potrebujete disponovať vhodným podpisovým certifikátom. Ak si prajete iba overiť podpisy v dokumentoch, tento krok je nepovinný a môžete ho preskočiť. Podpisový certifikát si môžete nastaviť neskôr počas podpisovania prvého dokumentu.\n\n\nAk si prajete nastaviť podpisový certifikát, pripravte si prosím občiansky preukaz a nasledujte inštrukcie na obrazovke.'**
/// **'Na podpisovanie mobilom potrebujete disponovať vhodným podpisovým certifikátom. Podpisový certifikát si môžete nastaviť aj neskôr počas podpisovania prvého dokumentu.\n\n\nAk si prajete nastaviť podpisový certifikát teraz, pripravte si, prosím, občiansky preukaz a nasledujte inštrukcie na obrazovke.'**
String get selectSigningCertificateBody;

/// No description provided for @selectSigningCertificateCanceledHeading.
Expand All @@ -484,7 +502,7 @@ abstract class AppLocalizations {
/// No description provided for @selectSigningCertificateNoCertificateBody.
///
/// In sk, this message translates to:
/// **'Nepodarilo sa nájsť certifikát pre kvalifikovaný elektronický podpis.\n\nCertifikát je potrebné vydať v aplikácii eID, prípadne použiť iný občiansky preukaz.\nNávod na vydanie certifikátu nájdete na '**
/// **'Nepodarilo sa nájsť certifikát pre kvalifikovaný elektronický podpis.\n\nCertifikát je potrebné vydať v aplikácii eID klient, prípadne použiť iný občiansky preukaz.\nNávod na vydanie certifikátu nájdete na '**
String get selectSigningCertificateNoCertificateBody;

/// No description provided for @selectSigningCertificateNoCertificateGuideUrl.
Expand Down
Loading

0 comments on commit b40adcb

Please sign in to comment.