Skip to content

Commit

Permalink
fix: Localisation added
Browse files Browse the repository at this point in the history
fix: Localisable

wip to remove

wip

fix: Localization working

feat: Localization added
  • Loading branch information
Ambrdctr committed Oct 15, 2024
1 parent f8e3948 commit 1db5053
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 2 deletions.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import PackageDescription

let package = Package(
name: "InfomaniakCoreUI",
defaultLocalization: "en",
platforms: [
.iOS(.v13)
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ public struct FloatingPanelCloseButton: View {
public var body: some View {
Button(action: dismissHandler) {
Label {
// TODO: - TRANSLATE THIS
Text("Close" /* MailResourcesStrings.Localizable.buttonClose */ )
Text("Close", bundle: .module)
} icon: {
Image(systemName: "xmark")
.resizable()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
Localizable.strings
InfomaniakCoreUI

Created by Ambroise Decouttere on 15/10/2024.

*/

/* Close button */
"Close" = "Schliessen";
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
Localizable.strings
InfomaniakCoreUI

Created by Ambroise Decouttere on 15/10/2024.

*/

/* Close button */
"Close" = "Close";
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
Localizable.strings
InfomaniakCoreUI

Created by Ambroise Decouttere on 15/10/2024.

*/

/* Close button */
"Close" = "Cerrar";
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
Localizable.strings
InfomaniakCoreUI

Created by Ambroise Decouttere on 15/10/2024.

*/

/* Close button */
"Close" = "Fermer";
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
Localizable.strings
InfomaniakCoreUI

Created by Ambroise Decouttere on 15/10/2024.

*/

/* Close button */
"Close" = "Chiudere";

0 comments on commit 1db5053

Please sign in to comment.