mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-26 13:29:31 -04:00
fix some issues for long strings
This commit is contained in:
parent
a5bc9053f5
commit
3c61ff6822
@ -45,16 +45,14 @@
|
|||||||
"Load the link" = "Load the link";
|
"Load the link" = "Load the link";
|
||||||
"Cancel" = "Cancel";
|
"Cancel" = "Cancel";
|
||||||
"An external link is tapped, do you wish to load the link?" = "An external link is tapped, do you wish to load the link?";
|
"An external link is tapped, do you wish to load the link?" = "An external link is tapped, do you wish to load the link?";
|
||||||
"An external link is tapped. \
|
"loc-extenral-alert" = "An external link is tapped. \
|
||||||
However, your current setting does not allow it to be loaded." = "An external link is tapped. \
|
|
||||||
However, your current setting does not allow it to be loaded.";
|
However, your current setting does not allow it to be loaded.";
|
||||||
"Open a zim file" = "Open a zim file";
|
"Open a zim file" = "Open a zim file";
|
||||||
"Unable to open file" = "Unable to open file";
|
"Unable to open file" = "Unable to open file";
|
||||||
"%@ cannot be opened." = "%@ cannot be opened.";
|
"%@ cannot be opened." = "%@ cannot be opened.";
|
||||||
"No snippet" = "No snippet";
|
"No snippet" = "No snippet";
|
||||||
"Article Title" = "Article Title";
|
"Article Title" = "Article Title";
|
||||||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, \
|
"loc-article-cell-template" = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, \
|
||||||
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, \
|
|
||||||
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.";
|
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.";
|
||||||
"Unknown" = "Unknown";
|
"Unknown" = "Unknown";
|
||||||
"Yes" = "Yes";
|
"Yes" = "Yes";
|
||||||
@ -95,12 +93,10 @@ sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.";
|
|||||||
"Download using cellular" = "Download using cellular";
|
"Download using cellular" = "Download using cellular";
|
||||||
"Unlink" = "Unlink";
|
"Unlink" = "Unlink";
|
||||||
"Unlink %@" = "Unlink %@";
|
"Unlink %@" = "Unlink %@";
|
||||||
"All bookmarked articles linked to this zim file will be deleted, \
|
"loc-ZimFileDetail-Alert-unlink" = "All bookmarked articles linked to this zim file will be deleted, \
|
||||||
but the original file will remain in place." = "All bookmarked articles linked to this zim file will be deleted, \
|
|
||||||
but the original file will remain in place.";
|
but the original file will remain in place.";
|
||||||
"Delete %@" = "Delete %@";
|
"Delete %@" = "Delete %@";
|
||||||
"The zim file and all bookmarked articles \
|
"loc-ZimFileDetail-Alert-Delete" = "The zim file and all bookmarked articles \
|
||||||
linked to this zim file will be deleted." = "The zim file and all bookmarked articles \
|
|
||||||
linked to this zim file will be deleted.";
|
linked to this zim file will be deleted.";
|
||||||
"Download" = "Download";
|
"Download" = "Download";
|
||||||
"Space Warning" = "Space Warning";
|
"Space Warning" = "Space Warning";
|
||||||
@ -152,9 +148,7 @@ linked to this zim file will be deleted.";
|
|||||||
"Dependencies" = "Dependencies";
|
"Dependencies" = "Dependencies";
|
||||||
"License" = "License";
|
"License" = "License";
|
||||||
"Version" = "Version";
|
"Version" = "Version";
|
||||||
"Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg, or TED Talks. \
|
"loc-About-description" = "Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg, or TED Talks. \
|
||||||
It makes knowledge available to people with no or limited internet access. \
|
|
||||||
The software as well as the content is free to use for anyone." = "Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg, or TED Talks. \
|
|
||||||
It makes knowledge available to people with no or limited internet access. \
|
It makes knowledge available to people with no or limited internet access. \
|
||||||
The software as well as the content is free to use for anyone.";
|
The software as well as the content is free to use for anyone.";
|
||||||
"This app is released under the terms of the GNU General Public License version 3." = "This app is released under the terms of the GNU General Public License version 3.";
|
"This app is released under the terms of the GNU General Public License version 3." = "This app is released under the terms of the GNU General Public License version 3.";
|
||||||
@ -203,4 +197,7 @@ The software as well as the content is free to use for anyone.";
|
|||||||
"Vikidia" = "Vikidia";
|
"Vikidia" = "Vikidia";
|
||||||
"StackExchange" = "StackExchange";
|
"StackExchange" = "StackExchange";
|
||||||
"Other" = "Other";
|
"Other" = "Other";
|
||||||
|
"Disabled" = "Disabled";
|
||||||
|
"First Paragraph" = "First Paragraph";
|
||||||
|
"First Sentence" = "First Sentence";
|
||||||
|
"Matches" = "Matches";
|
||||||
|
@ -65,12 +65,7 @@ struct ArticleCell: View {
|
|||||||
struct ArticleCell_Previews: PreviewProvider {
|
struct ArticleCell_Previews: PreviewProvider {
|
||||||
static let result: SearchResult = {
|
static let result: SearchResult = {
|
||||||
let result = SearchResult(zimFileID: UUID(), path: "", title: "Article Title".localized)!
|
let result = SearchResult(zimFileID: UUID(), path: "", title: "Article Title".localized)!
|
||||||
result.snippet = NSAttributedString(string:
|
result.snippet = NSAttributedString(string:"loc-article-cell-template".localized)
|
||||||
"""
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, \
|
|
||||||
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
||||||
""".localized
|
|
||||||
)
|
|
||||||
return result
|
return result
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
@ -39,12 +39,7 @@ struct SearchResultRow: View {
|
|||||||
struct SearchResultRow_Previews: PreviewProvider {
|
struct SearchResultRow_Previews: PreviewProvider {
|
||||||
static let result: SearchResult = {
|
static let result: SearchResult = {
|
||||||
let result = SearchResult(zimFileID: UUID(), path: "", title: "Article Title".localized)!
|
let result = SearchResult(zimFileID: UUID(), path: "", title: "Article Title".localized)!
|
||||||
result.snippet = NSAttributedString(string:
|
result.snippet = NSAttributedString(string:"loc-article-cell-template".localized)
|
||||||
"""
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, \
|
|
||||||
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
||||||
""".localized
|
|
||||||
)
|
|
||||||
return result
|
return result
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
@ -117,10 +117,7 @@ struct ZimFileDetail: View {
|
|||||||
}.alert(isPresented: $isPresentingUnlinkAlert) {
|
}.alert(isPresented: $isPresentingUnlinkAlert) {
|
||||||
Alert(
|
Alert(
|
||||||
title: Text("Unlink %@".localizedWithFormat(withArgs: zimFile.name)),
|
title: Text("Unlink %@".localizedWithFormat(withArgs: zimFile.name)),
|
||||||
message: Text("""
|
message: Text("loc-ZimFileDetail-Alert-unlink".localized),
|
||||||
All bookmarked articles linked to this zim file will be deleted, \
|
|
||||||
but the original file will remain in place.
|
|
||||||
"""),
|
|
||||||
primaryButton: .destructive(Text("Unlink".localized)) {
|
primaryButton: .destructive(Text("Unlink".localized)) {
|
||||||
LibraryOperations.unlink(zimFileID: zimFile.fileID)
|
LibraryOperations.unlink(zimFileID: zimFile.fileID)
|
||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
@ -138,10 +135,7 @@ struct ZimFileDetail: View {
|
|||||||
}.alert(isPresented: $isPresentingDeleteAlert) {
|
}.alert(isPresented: $isPresentingDeleteAlert) {
|
||||||
Alert(
|
Alert(
|
||||||
title: Text("Delete %@".localizedWithFormat(withArgs: zimFile.name)),
|
title: Text("Delete %@".localizedWithFormat(withArgs: zimFile.name)),
|
||||||
message: Text("""
|
message: Text("loc-ZimFileDetail-Alert-Delete".localized),
|
||||||
The zim file and all bookmarked articles \
|
|
||||||
linked to this zim file will be deleted.
|
|
||||||
""".localized),
|
|
||||||
primaryButton: .destructive(Text("Delete".localized)) {
|
primaryButton: .destructive(Text("Delete".localized)) {
|
||||||
LibraryOperations.delete(zimFileID: zimFile.fileID)
|
LibraryOperations.delete(zimFileID: zimFile.fileID)
|
||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
|
@ -78,13 +78,7 @@ struct About: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private var about: some View {
|
private var about: some View {
|
||||||
Text(
|
Text("loc-About-description".localized)
|
||||||
"""
|
|
||||||
Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg, or TED Talks. \
|
|
||||||
It makes knowledge available to people with no or limited internet access. \
|
|
||||||
The software as well as the content is free to use for anyone.
|
|
||||||
""".localized
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private var release: some View {
|
private var release: some View {
|
||||||
|
@ -53,10 +53,7 @@ struct ExternalLinkHandler: ViewModifier {
|
|||||||
case .ask:
|
case .ask:
|
||||||
Text("An external link is tapped, do you wish to load the link?".localized)
|
Text("An external link is tapped, do you wish to load the link?".localized)
|
||||||
case .notLoading:
|
case .notLoading:
|
||||||
Text("""
|
Text("loc-extenral-alert".localized)
|
||||||
An external link is tapped. \
|
|
||||||
However, your current setting does not allow it to be loaded.
|
|
||||||
""".localized)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user