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