Localize export text
This commit is contained in:
@ -44,7 +44,7 @@ struct HighlightsListCard: View {
|
||||
)
|
||||
Button(
|
||||
action: { showShareView = true },
|
||||
label: { Label("Export", systemImage: "square.and.arrow.up") }
|
||||
label: { Label(LocalText.exportGeneric, systemImage: "square.and.arrow.up") }
|
||||
)
|
||||
Button(
|
||||
action: onDeleteHighlight,
|
||||
|
||||
@ -98,7 +98,7 @@ struct HighlightsListView: View {
|
||||
content: {
|
||||
Button(
|
||||
action: { showShareView = true },
|
||||
label: { Label("Export", systemImage: "square.and.arrow.up") }
|
||||
label: { Label(LocalText.exportGeneric, systemImage: "square.and.arrow.up") }
|
||||
)
|
||||
},
|
||||
label: {
|
||||
|
||||
@ -172,6 +172,7 @@ public enum LocalText {
|
||||
public static let logoutGeneric = localText(key: "logoutGeneric")
|
||||
public static let doneGeneric = localText(key: "doneGeneric")
|
||||
public static let cancelGeneric = localText(key: "cancelGeneric")
|
||||
public static let exportGeneric = localText(key: "exportGeneric")
|
||||
public static let inboxGeneric = localText(key: "inboxGeneric")
|
||||
public static let readLaterGeneric = localText(key: "readLaterGeneric")
|
||||
public static let newslettersGeneric = localText(key: "newslettersGeneric")
|
||||
|
||||
@ -176,6 +176,7 @@
|
||||
"logoutGeneric" = "Logout";
|
||||
"doneGeneric" = "Done";
|
||||
"cancelGeneric" = "Cancel";
|
||||
"exportGeneric" = "Export";
|
||||
"inboxGeneric" = "Inbox";
|
||||
"readLaterGeneric" = "Read Later";
|
||||
"newslettersGeneric" = "Newsletters";
|
||||
|
||||
@ -176,6 +176,7 @@
|
||||
"logoutGeneric" = "退出登录";
|
||||
"doneGeneric" = "完成";
|
||||
"cancelGeneric" = "取消";
|
||||
"exportGeneric" = "导出"
|
||||
"inboxGeneric" = "收集箱";
|
||||
"readLaterGeneric" = "稍后阅读";
|
||||
"newslettersGeneric" = "新闻稿件";
|
||||
|
||||
Reference in New Issue
Block a user