diff --git a/FSNotes iOS/Localizable.xcstrings b/FSNotes iOS/Localizable.xcstrings index 7067f17fd..4b33aa982 100644 --- a/FSNotes iOS/Localizable.xcstrings +++ b/FSNotes iOS/Localizable.xcstrings @@ -9530,6 +9530,76 @@ } } }, + "Update Web Page" : { + "localizations" : { + "cs" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktualizovat webovou stránku" + } + }, + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Geteilte aktualisieren" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mettre à jour la page Web" + } + }, + "hi" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "वेब पेज अपडेट करें" + } + }, + "it" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Aggiorna la pagina web" + } + }, + "ja" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Web ページの更新" + } + }, + "nl-NL" : { + "stringUnit" : { + "state" : "translated", + "value" : "Webpagina bijwerken" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Atualizar página da Web" + } + }, + "ru" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Обновить веб-страницу" + } + }, + "uk" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Оновити веб-сторінку" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "更新网页" + } + } + } + }, "Use First Line as Title" : { "localizations" : { "cs" : { diff --git a/FSNotes iOS/View/NotesTableView.swift b/FSNotes iOS/View/NotesTableView.swift index eb044107a..acd05fc90 100644 --- a/FSNotes iOS/View/NotesTableView.swift +++ b/FSNotes iOS/View/NotesTableView.swift @@ -406,7 +406,11 @@ class NotesTableView: UITableView, let shareImage = UIImage(systemName: "square.and.arrow.up") actions.append(UIAction(title: shareTitle, image: shareImage, identifier: UIAction.Identifier("share"), handler: handler)) - let shareWebTitle = NSLocalizedString("Create Web Page", comment: "") + var shareWebTitle = NSLocalizedString("Create Web Page", comment: "") + if note.apiId != nil { + shareWebTitle = NSLocalizedString("Update Web Page", comment: "") + } + let shareWebImage = UIImage(systemName: "newspaper") actions.append(UIAction(title: shareWebTitle, image: shareWebImage, identifier: UIAction.Identifier("shareWeb"), handler: handler))