From a24d0fe4906721c19edb1dc15fd8eaae405a47a8 Mon Sep 17 00:00:00 2001 From: Jinyu Meng Date: Wed, 23 Oct 2024 23:21:42 +0900 Subject: [PATCH] Add more "verbatim" to texts. --- Pearcleaner/Resources/Localizable.xcstrings | 88 --------------------- Pearcleaner/Views/AppListItems.swift | 4 +- 2 files changed, 2 insertions(+), 90 deletions(-) diff --git a/Pearcleaner/Resources/Localizable.xcstrings b/Pearcleaner/Resources/Localizable.xcstrings index b8f90dd..9b74a03 100644 --- a/Pearcleaner/Resources/Localizable.xcstrings +++ b/Pearcleaner/Resources/Localizable.xcstrings @@ -137,71 +137,6 @@ } } }, - "%lld" : { - - }, - "•" : { - "localizations" : { - "de" : { - "stringUnit" : { - "state" : "translated", - "value" : "•" - } - }, - "ru" : { - "stringUnit" : { - "state" : "translated", - "value" : "•" - } - }, - "sk" : { - "stringUnit" : { - "state" : "translated", - "value" : "•" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "•" - } - }, - "zh-HK" : { - "stringUnit" : { - "state" : "translated", - "value" : "." - } - } - } - }, - "⇧ + Scroll" : { - "localizations" : { - "de" : { - "stringUnit" : { - "state" : "translated", - "value" : "⇧ + Scrollen" - } - }, - "ru" : { - "stringUnit" : { - "state" : "translated", - "value" : "⇧ + Прокрутка" - } - }, - "sk" : { - "stringUnit" : { - "state" : "translated", - "value" : "⇧ + Rolovanie" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "⇧ + 滚动" - } - } - } - }, "About" : { "localizations" : { "de" : { @@ -6805,29 +6740,6 @@ } } }, - "v%@" : { - "localizations" : { - "de" : { - "stringUnit" : { - "state" : "translated", - "value" : "v%@" - } - }, - "sk" : { - "stringUnit" : { - "state" : "translated", - "value" : "v%@" - } - }, - "zh-HK" : { - "stringUnit" : { - "state" : "translated", - "value" : "v%@" - } - } - }, - "shouldTranslate" : false - }, "Version %@" : { "localizations" : { "de" : { diff --git a/Pearcleaner/Views/AppListItems.swift b/Pearcleaner/Views/AppListItems.swift index 55c756a..cb0fd08 100644 --- a/Pearcleaner/Views/AppListItems.swift +++ b/Pearcleaner/Views/AppListItems.swift @@ -62,12 +62,12 @@ struct AppListItems: View { } HStack(spacing: 5) { - Text("v\(appInfo.appVersion)") + Text(verbatim: "v\(appInfo.appVersion)") .font(.footnote) .lineLimit(1) .truncationMode(.tail) .opacity(0.5) - Text("•").font(.footnote).opacity(0.5) + Text(verbatim: "•").font(.footnote).opacity(0.5) Text(appInfo.bundleSize == 0 ? String(localized: "calculating") : "\(formatByte(size: appInfo.bundleSize).human)") .font(.footnote)