This commit is contained in:
Thomas Ricouard 2023-02-15 08:23:49 +01:00
commit 07153e1142
2 changed files with 8 additions and 7 deletions

View file

@ -336,13 +336,13 @@
"notifications.tab.all" = "全て";
"notifications.tab.mentions" = "返信";
"notifications.label.status.push" = "🖊️ Posted: ";
"notifications.label.reblog.push" = "🚀 Boosted: ";
"notifications.label.follow.push" = "👋 Followed you: ";
"notifications.label.follow-request.push" = "🔒 Requested to follow you: ";
"notifications.label.favorite.push" = "⭐️ Starred: ";
"notifications.label.poll.push" = "📈 Poll ended: ";
"notifications.label.update.push" = "Updated: ";
"notifications.label.status.push" = "🖊️ 投稿:";
"notifications.label.reblog.push" = "🚀 ブースト:";
"notifications.label.follow.push" = "👋 あなたをフォロー:";
"notifications.label.follow-request.push" = "🔒 フォローリクエスト:";
"notifications.label.favorite.push" = "⭐️ お気に入りに追加:";
"notifications.label.poll.push" = "📈 投票終了:";
"notifications.label.update.push" = "更新:";
// MARK: Package: Timeline
"timeline.federated" = "連合";

View file

@ -145,6 +145,7 @@ public class StatusEditorViewModel: NSObject, ObservableObject {
func evaluateLanguages() {
if let detectedLang = detectLanguage(text: statusText.string),
let selectedLanguage = selectedLanguage,
selectedLanguage != "",
selectedLanguage != detectedLang
{
languageConfirmationDialogLanguages = ["detected": detectedLang,