core: remove build timestamp from the version info (reproducible builds) (#2182)

* core: remove build timestamp from the version info (reproducible builds)

* remove strings
This commit is contained in:
Evgeny Poberezkin
2023-04-14 13:03:41 +02:00
committed by GitHub
parent e5713087e3
commit 4e01970d69
41 changed files with 6 additions and 110 deletions

View File

@@ -18,7 +18,6 @@ struct VersionView: View {
Text("App build: \(appBuild ?? "?")")
if let info = versionInfo {
Text("Core version: v\(info.version)")
Text("Core built at: \(info.buildTimestamp)")
if let v = try? AttributedString(markdown: "simplexmq: v\(info.simplexmqVersion) ([\(info.simplexmqCommit.prefix(7))](https://github.com/simplex-chat/simplexmq/commit/\(info.simplexmqCommit)))") {
Text(v)
}

View File

@@ -947,11 +947,6 @@
<target>Kopírovat</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Jádro sestavené na: %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Verze jádra: v%@</target>

View File

@@ -947,11 +947,6 @@
<target>Kopieren</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Core übersetzt am: %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Core Version: v%@</target>

View File

@@ -955,11 +955,6 @@
<target>Copy</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Core built at: %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Core version: v%@</target>

View File

@@ -955,11 +955,6 @@
<target>Copiar</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Core compilado en: %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Versión Core: v%@</target>

View File

@@ -955,11 +955,6 @@
<target>Copier</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Cœur compilé le : %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Version du cœur : v%@</target>

View File

@@ -955,11 +955,6 @@
<target>Copia</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Core compilato il: %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Versione core: v%@</target>

View File

@@ -955,11 +955,6 @@
<target>Kopiëren</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Core built at: %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Core versie: v% @</target>

View File

@@ -955,11 +955,6 @@
<target>Kopiuj</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Kompilacja rdzenia: %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Wersja rdzenia: v%@</target>

View File

@@ -947,11 +947,6 @@
<target>Скопировать</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>Ядро скомпилировано: %@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>Версия ядра: v%@</target>

View File

@@ -955,11 +955,6 @@
<target>复制</target>
<note>chat item action</note>
</trans-unit>
<trans-unit id="Core built at: %@" xml:space="preserve">
<source>Core built at: %@</source>
<target>核心构建于:%@</target>
<note>No comment provided by engineer.</note>
</trans-unit>
<trans-unit id="Core version: v%@" xml:space="preserve">
<source>Core version: v%@</source>
<target>核心版本: v%@</target>

View File

@@ -1153,7 +1153,6 @@ public enum NotificationPreviewMode: String, SelectableItem {
public struct CoreVersionInfo: Decodable {
public var version: String
public var buildTimestamp: String
public var simplexmqVersion: String
public var simplexmqCommit: String
}

View File

@@ -656,9 +656,6 @@
/* chat item action */
"Copy" = "Kopírovat";
/* No comment provided by engineer. */
"Core built at: %@" = "Jádro sestavené na: %@";
/* No comment provided by engineer. */
"Core version: v%@" = "Verze jádra: v%@";

View File

@@ -656,9 +656,6 @@
/* chat item action */
"Copy" = "Kopieren";
/* No comment provided by engineer. */
"Core built at: %@" = "Core übersetzt am: %@";
/* No comment provided by engineer. */
"Core version: v%@" = "Core Version: v%@";

View File

@@ -680,9 +680,6 @@
/* chat item action */
"Copy" = "Copiar";
/* No comment provided by engineer. */
"Core built at: %@" = "Core compilado en: %@";
/* No comment provided by engineer. */
"Core version: v%@" = "Versión Core: v%@";

View File

@@ -680,9 +680,6 @@
/* chat item action */
"Copy" = "Copier";
/* No comment provided by engineer. */
"Core built at: %@" = "Cœur compilé le : %@";
/* No comment provided by engineer. */
"Core version: v%@" = "Version du cœur : v%@";

View File

@@ -680,9 +680,6 @@
/* chat item action */
"Copy" = "Copia";
/* No comment provided by engineer. */
"Core built at: %@" = "Core compilato il: %@";
/* No comment provided by engineer. */
"Core version: v%@" = "Versione core: v%@";

View File

@@ -680,9 +680,6 @@
/* chat item action */
"Copy" = "Kopiëren";
/* No comment provided by engineer. */
"Core built at: %@" = "Core built at: %@";
/* No comment provided by engineer. */
"Core version: v%@" = "Core versie: v% @";

View File

@@ -680,9 +680,6 @@
/* chat item action */
"Copy" = "Kopiuj";
/* No comment provided by engineer. */
"Core built at: %@" = "Kompilacja rdzenia: %@";
/* No comment provided by engineer. */
"Core version: v%@" = "Wersja rdzenia: v%@";

View File

@@ -656,9 +656,6 @@
/* chat item action */
"Copy" = "Скопировать";
/* No comment provided by engineer. */
"Core built at: %@" = "Ядро скомпилировано: %@";
/* No comment provided by engineer. */
"Core version: v%@" = "Версия ядра: v%@";

View File

@@ -680,9 +680,6 @@
/* chat item action */
"Copy" = "复制";
/* No comment provided by engineer. */
"Core built at: %@" = "核心构建于:%@";
/* No comment provided by engineer. */
"Core version: v%@" = "核心版本: v%@";