mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-07-02 08:05:05 +02:00
Compare commits
83 Commits
v1.7.22-sc
...
v1.7.32-sc
Author | SHA1 | Date | |
---|---|---|---|
cdf5812221 | |||
25148ec273 | |||
2248eebef0 | |||
505a21a022 | |||
89d385b7d4 | |||
4e01e1d57a | |||
7e2d84fc1c | |||
c000ee1445 | |||
be3bb16e06 | |||
817bdaf65b | |||
d5fa475e8d | |||
7c4500e95f | |||
e69c5bfb10 | |||
ee760ab980 | |||
f82619b4cd | |||
7c2ad6457d | |||
ea528bb30d | |||
8186dd8b40 | |||
9389687646 | |||
91f8982678 | |||
28e4695a22 | |||
a808f3d496 | |||
343c2d79a2 | |||
f7c1d254c3 | |||
e95a8442b0 | |||
d631fa21eb | |||
80e873dd66 | |||
9bffd5bea9 | |||
539a43b311 | |||
047c95b578 | |||
05f21f1707 | |||
af4e841134 | |||
6a2eb7e256 | |||
7163a74d24 | |||
a7ef620132 | |||
8ad4a5e054 | |||
df24897b75 | |||
6b6fc8aba2 | |||
6bcf555b6a | |||
7f78d7c5a0 | |||
8783aad7fe | |||
a0b87afbd2 | |||
e8f02cb065 | |||
031c657ccb | |||
905374543d | |||
21c1a4d55a | |||
17e988aac9 | |||
6da7785919 | |||
b75788acf8 | |||
dbaf203a9d | |||
3671fb2509 | |||
d288d59851 | |||
f896a5cf9b | |||
013115c4b7 | |||
54692fd5d5 | |||
31626be179 | |||
68c7fb216e | |||
1e063b4c45 | |||
0587d470ec | |||
4162a4b0bb | |||
1e65e1d6c2 | |||
ecf2ca9c95 | |||
ee9030b25e | |||
c92de08179 | |||
68f8de90a8 | |||
b58ec71fab | |||
7d936b5dd6 | |||
245acd8666 | |||
5ae89a1930 | |||
75ce7c462b | |||
3c98777e16 | |||
d617678f3d | |||
37e2a48648 | |||
80a92a3c30 | |||
f2ef0465a9 | |||
8cb68add15 | |||
303041011a | |||
27949ef626 | |||
f980cef006 | |||
c18cc22db7 | |||
ac9cf5e2d6 | |||
8424d864e5 | |||
496d74e810 |
27
Makefile
27
Makefile
@ -1,10 +1,10 @@
|
|||||||
.PHONY: all setup reskindex web desktop desktop-common linux debian pacman local-pkgbuild local-pkgbuild-install windows windows-portable
|
.PHONY: all setup regenerate-i18n reskindex web desktop-common linux debian pacman local-pkgbuild local-pkgbuild-install windows windows-portable
|
||||||
.PHONY: web-release debian-release pacman-release windows-setup-release windows-unpacked-release windows-portable-release windows-release release
|
.PHONY: web-release debian-release pacman-release windows-setup-release windows-unpacked-release windows-portable-release windows-release
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
||||||
CFGDIR ?= configs/sc
|
CFGDIR ?= configs/sc
|
||||||
|
|
||||||
all: release
|
all: web
|
||||||
|
|
||||||
YARN ?= yarnpkg
|
YARN ?= yarnpkg
|
||||||
|
|
||||||
@ -37,7 +37,9 @@ CURRENT_RELEASE_DIR := $(RELEASE_DIR)/$(VERSION)
|
|||||||
|
|
||||||
setup:
|
setup:
|
||||||
if [ ! -L "element-desktop/webapp" ]; then ./setup.sh; fi
|
if [ ! -L "element-desktop/webapp" ]; then ./setup.sh; fi
|
||||||
cp $(CFGDIR)/config.json element-web/
|
|
||||||
|
regenerate-i18n: setup
|
||||||
|
./regenerate_i18n.sh
|
||||||
|
|
||||||
reskindex: setup
|
reskindex: setup
|
||||||
$(YARN) --cwd matrix-react-sdk reskindex
|
$(YARN) --cwd matrix-react-sdk reskindex
|
||||||
@ -45,6 +47,7 @@ reskindex: setup
|
|||||||
|
|
||||||
web: export DIST_VERSION=$(WEB_OUT_DIST_VERSION)
|
web: export DIST_VERSION=$(WEB_OUT_DIST_VERSION)
|
||||||
web: setup reskindex
|
web: setup reskindex
|
||||||
|
cp $(CFGDIR)/config.json element-web/
|
||||||
$(YARN) --cwd element-web dist
|
$(YARN) --cwd element-web dist
|
||||||
echo "$(VERSION)" > element-web/webapp/version
|
echo "$(VERSION)" > element-web/webapp/version
|
||||||
|
|
||||||
@ -52,25 +55,23 @@ desktop-common: web
|
|||||||
$(YARN) --cwd element-desktop run fetch --cfgdir ''
|
$(YARN) --cwd element-desktop run fetch --cfgdir ''
|
||||||
$(YARN) --cwd element-desktop run build:native
|
$(YARN) --cwd element-desktop run build:native
|
||||||
|
|
||||||
desktop: windows linux
|
|
||||||
|
|
||||||
linux: desktop-common
|
linux: desktop-common
|
||||||
$(YARN) --cwd element-desktop run build64linux
|
$(YARN) --cwd element-desktop run build64 --linux deb pacman tar.xz
|
||||||
|
|
||||||
debian: desktop-common
|
debian: desktop-common
|
||||||
$(YARN) --cwd element-desktop run build64deb
|
$(YARN) --cwd element-desktop run build64 --linux deb pacman tar.xz
|
||||||
|
|
||||||
pacman: desktop-common
|
pacman: desktop-common
|
||||||
$(YARN) --cwd element-desktop run build64pacman
|
$(YARN) --cwd element-desktop run build64 --linux pacman
|
||||||
|
|
||||||
appimage: desktop-common
|
appimage: desktop-common
|
||||||
$(YARN) --cwd element-desktop run build64appimage
|
$(YARN) --cwd element-desktop run build64 --linux AppImage
|
||||||
|
|
||||||
windows: desktop-common
|
windows: desktop-common
|
||||||
$(YARN) --cwd element-desktop run build64windows
|
$(YARN) --cwd element-desktop run build64 --windows nsis
|
||||||
|
|
||||||
windows-portable: desktop-common
|
windows-portable: desktop-common
|
||||||
$(YARN) --cwd element-desktop run build64windows-portable
|
$(YARN) --cwd element-desktop run build64 --windows portable
|
||||||
|
|
||||||
macos: desktop-common
|
macos: desktop-common
|
||||||
$(YARN) --cwd element-desktop run build --mac dmg -c.mac.identity=null
|
$(YARN) --cwd element-desktop run build --mac dmg -c.mac.identity=null
|
||||||
@ -114,8 +115,6 @@ macos-release: macos
|
|||||||
mkdir -p $(CURRENT_RELEASE_DIR)
|
mkdir -p $(CURRENT_RELEASE_DIR)
|
||||||
cp $(OUT_MACOS) $(CURRENT_RELEASE_DIR)
|
cp $(OUT_MACOS) $(CURRENT_RELEASE_DIR)
|
||||||
|
|
||||||
release: web-release debian-release pacman-release windows-release
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(YARN) --cwd matrix-js-sdk clean
|
$(YARN) --cwd matrix-js-sdk clean
|
||||||
$(YARN) --cwd matrix-react-sdk clean
|
$(YARN) --cwd matrix-react-sdk clean
|
||||||
|
@ -18,7 +18,14 @@ Feel free to [join the discussion on matrix](https://matrix.to/#/#schildichat-we
|
|||||||
|
|
||||||
## Building SchildiChat Web/Desktop
|
## Building SchildiChat Web/Desktop
|
||||||
|
|
||||||
This particular repo is a wrapper project for element-desktop, element-web, matrix-react-sdk and matrix-js-sdk in order to build SchildiChat Web **and** Desktop.
|
This particular repo is a wrapper project for element-desktop, element-web, matrix-react-sdk and matrix-js-sdk. It's the recommended starting point to build SchildiChat for Web **and** Desktop.
|
||||||
|
|
||||||
|
<pre><code><b>schildichat-desktop</b> <i><-- this repo</i> (recommended starting point to build SchildiChat for Web <b>and</b> Desktop)
|
||||||
|
|-- <a href="https://github.com/SchildiChat/element-desktop">element-desktop</a> (electron wrapper)
|
||||||
|
|-- <a href="https://github.com/SchildiChat/element-web">element-web</a> ("skin" for matrix-react-sdk)
|
||||||
|
|-- <a href="https://github.com/SchildiChat/matrix-react-sdk">matrix-react-sdk</a> (most of the development happens here)
|
||||||
|
`-- <a href="https://github.com/SchildiChat/matrix-js-sdk">matrix-js-sdk</a> (Matrix client js sdk)
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
### Install dependencies
|
### Install dependencies
|
||||||
|
|
||||||
|
@ -26,5 +26,12 @@
|
|||||||
"url": "https://schildi.chat/desktop/privacy",
|
"url": "https://schildi.chat/desktop/privacy",
|
||||||
"text": "Privacy Policy"
|
"text": "Privacy Policy"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"sc_update_announcement_room": {
|
||||||
|
"room_id_or_alias": "!JwTYjASnrfLEJQGQvt:matrix.org",
|
||||||
|
"via_servers": [
|
||||||
|
"supercable.onl",
|
||||||
|
"spiritcroc.de"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Submodule element-desktop updated: 8fb350141a...634aaf77f5
Submodule element-web updated: 84434c6e16...6c6ee98eb9
3
i18n-helper/.gitignore
vendored
Normal file
3
i18n-helper/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
yarn.lock
|
||||||
|
yarn-error.log
|
||||||
|
node_modules/
|
52
i18n-helper/index.js
Normal file
52
i18n-helper/index.js
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
const fs = require('fs');
|
||||||
|
const path = require('path');
|
||||||
|
const globby = require('globby');
|
||||||
|
|
||||||
|
function readStrings(p) {
|
||||||
|
return JSON.parse(fs.readFileSync(p).toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
function writeStrings(p, strings) {
|
||||||
|
fs.writeFileSync(p, JSON.stringify(strings, null, 4) + "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
console.log(process.argv.length);
|
||||||
|
console.log(process.argv[0]);
|
||||||
|
console.log(process.argv[1]);
|
||||||
|
console.log(process.argv[2]);
|
||||||
|
console.log(process.argv[3]);
|
||||||
|
if (process.argv.length < 3) {
|
||||||
|
console.log("No path with the original strings given!");
|
||||||
|
process.exit(-1);
|
||||||
|
}
|
||||||
|
originalPath = process.argv[2];
|
||||||
|
|
||||||
|
overlayPath = null;
|
||||||
|
if (process.argv.length > 3) {
|
||||||
|
overlayPath = process.argv[3];
|
||||||
|
} else {
|
||||||
|
console.log("Continue without overlays ...")
|
||||||
|
}
|
||||||
|
|
||||||
|
const paths = await globby(path.join(originalPath, "*.json"));
|
||||||
|
|
||||||
|
paths.forEach(p => {
|
||||||
|
let strings = readStrings(p);
|
||||||
|
|
||||||
|
for (const key of Object.keys(strings)) {
|
||||||
|
strings[key] = strings[key].replace(/Element/g, "SchildiChat").replace(/element\.io/g, "schildi.chat");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (overlayPath) {
|
||||||
|
op = path.join(overlayPath, path.basename(p));
|
||||||
|
|
||||||
|
if (fs.existsSync(op)) {
|
||||||
|
overlayStrings = readStrings(op);
|
||||||
|
Object.assign(strings, overlayStrings);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
writeStrings(p, strings);
|
||||||
|
});
|
||||||
|
})();
|
8
i18n-helper/package.json
Normal file
8
i18n-helper/package.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"name": "i18n-helper",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"main": "index.js",
|
||||||
|
"dependencies": {
|
||||||
|
"globby": "^11.0.3"
|
||||||
|
}
|
||||||
|
}
|
3
i18n-overlays/element-desktop/cs.json
Normal file
3
i18n-overlays/element-desktop/cs.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Show": "Zobrazit"
|
||||||
|
}
|
3
i18n-overlays/element-desktop/de.json
Normal file
3
i18n-overlays/element-desktop/de.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Show": "Anzeigen"
|
||||||
|
}
|
3
i18n-overlays/element-desktop/en_EN.json
Normal file
3
i18n-overlays/element-desktop/en_EN.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Show": "Show"
|
||||||
|
}
|
3
i18n-overlays/element-desktop/es.json
Normal file
3
i18n-overlays/element-desktop/es.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Show": "Mostrar"
|
||||||
|
}
|
3
i18n-overlays/element-desktop/et.json
Normal file
3
i18n-overlays/element-desktop/et.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Show": "Näita"
|
||||||
|
}
|
1
i18n-overlays/element-desktop/eu.json
Normal file
1
i18n-overlays/element-desktop/eu.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
3
i18n-overlays/element-desktop/fr.json
Normal file
3
i18n-overlays/element-desktop/fr.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Show": "Afficher"
|
||||||
|
}
|
1
i18n-overlays/element-desktop/hu.json
Normal file
1
i18n-overlays/element-desktop/hu.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
3
i18n-overlays/element-desktop/lt.json
Normal file
3
i18n-overlays/element-desktop/lt.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Show": "Rodyti"
|
||||||
|
}
|
1
i18n-overlays/element-desktop/nl.json
Normal file
1
i18n-overlays/element-desktop/nl.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-desktop/pt_BR.json
Normal file
1
i18n-overlays/element-desktop/pt_BR.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-desktop/ru.json
Normal file
1
i18n-overlays/element-desktop/ru.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-desktop/sk.json
Normal file
1
i18n-overlays/element-desktop/sk.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
5
i18n-overlays/element-web/cs.json
Normal file
5
i18n-overlays/element-web/cs.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Konfigurace SchildiChatu obsahuje neplatný JSON. Opravte problém a načtěte stránku znovu.",
|
||||||
|
"Download Completed": "Stahování dokončeno",
|
||||||
|
"%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s používá pokročilé funkce prohlížeče, které váš prohlížeč nepodporuje."
|
||||||
|
}
|
5
i18n-overlays/element-web/de_DE.json
Normal file
5
i18n-overlays/element-web/de_DE.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Deine SchildiChat-Konfiguration enthält ungültiges JSON. Bitte korrigiere das Problem und lade die Seite neu.",
|
||||||
|
"Download Completed": "Download abgeschlossen",
|
||||||
|
"%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s verwendet erweiterte Browserfunktionen, die von deinem aktuellen Browser nicht unterstützt werden."
|
||||||
|
}
|
1
i18n-overlays/element-web/en_EN.json
Normal file
1
i18n-overlays/element-web/en_EN.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/es.json
Normal file
1
i18n-overlays/element-web/es.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/et.json
Normal file
1
i18n-overlays/element-web/et.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/eu.json
Normal file
1
i18n-overlays/element-web/eu.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/fr.json
Normal file
1
i18n-overlays/element-web/fr.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/hu.json
Normal file
1
i18n-overlays/element-web/hu.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/lt.json
Normal file
1
i18n-overlays/element-web/lt.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/nl.json
Normal file
1
i18n-overlays/element-web/nl.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/pt_BR.json
Normal file
1
i18n-overlays/element-web/pt_BR.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/ru.json
Normal file
1
i18n-overlays/element-web/ru.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
i18n-overlays/element-web/sk.json
Normal file
1
i18n-overlays/element-web/sk.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
10
i18n-overlays/matrix-react-sdk/cs.json
Normal file
10
i18n-overlays/matrix-react-sdk/cs.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"Enable layout with message bubbles": "Povolit bubliny zpráv",
|
||||||
|
"Show message bubbles on one side only": "Bubliny zpráv zobrazit pouze na jedné straně",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Bubliny zpráv zobrazit v závislosti na šířce stránky buď na obou stranách, nebo pouze na jedné straně",
|
||||||
|
"Message bubbles": "Bubliny zpráv",
|
||||||
|
"Normal priority": "Normální priorita",
|
||||||
|
"Message layout": "Vzhled zpráv",
|
||||||
|
"Modern": "Moderní",
|
||||||
|
"Show people and rooms in a combined list": "Zobrazit lidi a místnosti v kombinovaném seznamu"
|
||||||
|
}
|
113
i18n-overlays/matrix-react-sdk/de_DE.json
Normal file
113
i18n-overlays/matrix-react-sdk/de_DE.json
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
{
|
||||||
|
"Normal priority": "Normale Priorität",
|
||||||
|
"Deops user with given id": "Setzt das Berechtigungslevel des Benutzers mit der angegebenen ID zurück",
|
||||||
|
"No users have specific privileges in this room": "Keine Benutzer haben in diesem Raum privilegierte Berechtigungen",
|
||||||
|
"Only people who have been invited": "Nur Personen, die eingeladen wurden",
|
||||||
|
"Upload file": "Datei hochladen",
|
||||||
|
"You cannot place VoIP calls in this browser.": "VoIP-Gespräche werden von diesem Browser nicht unterstützt.",
|
||||||
|
"Failed to mute user": "Stummschalten des Benutzers fehlgeschlagen",
|
||||||
|
"You will not be able to undo this change as you are promoting the user to have the same power level as yourself.": "Du wirst diese Änderung nicht rückgängig machen können, da der Benutzer dieselbe Berechtigungsstufe wie du selbst erhalten wird.",
|
||||||
|
"Incorrect username and/or password.": "Inkorrekter Benutzername und/oder Passwort.",
|
||||||
|
"Create new room": "Neuen Raum erstellen",
|
||||||
|
"Define the power level of a user": "Berechtigungsstufe eines Benutzers setzen",
|
||||||
|
"Enable automatic language detection for syntax highlighting": "Automatische Spracherkennung für die Syntaxhervorhebung aktivieren",
|
||||||
|
"To get started, please pick a username!": "Um zu starten, wähle bitte einen Benutzernamen!",
|
||||||
|
"Ignores a user, hiding their messages from you": "Benutzer blockieren und dessen Nachrichten ausblenden",
|
||||||
|
"You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the room it will be impossible to regain privileges.": "Du wirst nicht in der Lage sein, die Änderung zurückzusetzen, da du dich degradierst. Wenn du der letze Benutzer mit Berechtigungen bist, wird es unmöglich sein, die Privilegien zurückzubekommen.",
|
||||||
|
"Where this page includes identifiable information, such as a room, user or group ID, that data is removed before being sent to the server.": "Wenn diese Seite identifizierbare Informationen wie Raum-, Benutzer- oder Gruppen-ID enthält, werden diese Daten entfernt, bevor sie an den Server gesendet werden.",
|
||||||
|
"If you've submitted a bug via GitHub, debug logs can help us track down the problem. Debug logs contain application usage data including your username, the IDs or aliases of the rooms or groups you have visited and the usernames of other users. They do not contain messages.": "Wenn du einen Fehler via GitHub meldest, können Fehlerberichte uns helfen, um das Problem zu finden. Sie enthalten Anwendungsdaten wie deinen Benutzernamen, Raum- und Gruppen-IDs, Aliase, die du besucht hast, und Benutzernamen anderer Benutzer. Sie enthalten keine Nachrichten.",
|
||||||
|
"Changes made to your community <bold1>name</bold1> and <bold2>avatar</bold2> might not be seen by other users for up to 30 minutes.": "Änderungen am <bold1>Namen</bold1> und <bold2>Bild</bold2> deiner Community werden evtl. erst nach 30 Minuten von anderen Benutzern gesehen werden.",
|
||||||
|
"Debug logs contain application usage data including your username, the IDs or aliases of the rooms or groups you have visited and the usernames of other users. They do not contain messages.": "Fehlerberichte enthalten Anwendungsdaten wie deinen Benutzernamen, Raum- und Gruppen-IDs und Aliase, die du besucht hast, sowie Benutzernamen anderer Benutzer. Sie enthalten keine Nachrichten.",
|
||||||
|
"Enable widget screenshots on supported widgets": "Bildschirmfotos bei unterstützten Widgets aktivieren",
|
||||||
|
"Message visibility in Matrix is similar to email. Our forgetting your messages means that messages you have sent will not be shared with any new or unregistered users, but registered users who already have access to these messages will still have access to their copy.": "Die Sichtbarkeit der Nachrichten in Matrix ist vergleichbar mit E-Mails: Wenn wir deine Nachrichten vergessen, heißt das, dass diese nicht mit neuen oder nicht registrierten Benutzern geteilt werden, aber registrierte Benutzer, die bereits zugriff haben, den Zugriff auf ihre Kopie behalten.",
|
||||||
|
"Please forget all messages I have sent when my account is deactivated (<b>Warning:</b> this will cause future users to see an incomplete view of conversations)": "Bitte vergesst alle Nachrichten, die ich gesendet habe, wenn mein Konto deaktiviert wird. (<b>Warnung:</b> Zukünftige Benutzer werden eine unvollständige Konversation sehen)",
|
||||||
|
"Share Link to User": "Link zum Benutzer teilen",
|
||||||
|
"This homeserver has hit its Monthly Active User limit.": "Dieser Heimserver hat sein Limit an monatlich aktiven Benutzern erreicht.",
|
||||||
|
"This homeserver has exceeded one of its resource limits.": "Dieser Heimserver hat eines seiner Ressourcen-Limits überschritten.",
|
||||||
|
"Stop users from speaking in the old version of the room, and post a message advising users to move to the new room": "Benutzern verbieten in dem Raum mit der alten Version zu schreiben und eine Nachricht senden, die den Benutzern rät in den neuen Raum zu wechseln",
|
||||||
|
"Before submitting logs, you must <a>create a GitHub issue</a> to describe your problem.": "Bevor du Protokolldateien übermittelst, musst du <a>auf GitHub ein \"Issue\" erstellen</a> um dein Problem zu beschreiben.",
|
||||||
|
"%(brand)s now uses 3-5x less memory, by only loading information about other users when needed. Please wait whilst we resynchronise with the server!": "%(brand)s benutzt nun 3 - 5-mal weniger Arbeitsspeicher, indem Informationen über andere Benutzer erst bei Bedarf geladen werden. Bitte warte, während die Daten erneut mit dem Server abgeglichen werden!",
|
||||||
|
"Custom user status messages": "Angepasste Benutzerstatusnachrichten",
|
||||||
|
"Prompt before sending invites to potentially invalid matrix IDs": "Warnen, bevor du Einladungen zu möglicherweise ungültigen Matrix-IDs sendest",
|
||||||
|
"Verify this user by confirming the following number appears on their screen.": "Verifiziere diesen Benutzer, indem du bestätigst, dass die folgende Nummer auf dessen Bildschirm erscheint.",
|
||||||
|
"For help with using %(brand)s, click <a>here</a>.": "Um Hilfe zur Benutzung von %(brand)s zu erhalten, klicke <a>hier</a>.",
|
||||||
|
"Verify this user by confirming the following emoji appear on their screen.": "Verifiziere diesen Benutzer, indem du bestätigst, dass folgende Emojis auf dessen Bildschirm erscheinen.",
|
||||||
|
"User %(userId)s is already in the room": "Benutzer %(userId)s ist bereits im Raum",
|
||||||
|
"The user must be unbanned before they can be invited.": "Die Verbannung des Benutzers muss aufgehoben werden, bevor er eingeladen werden kann.",
|
||||||
|
"Could not load user profile": "Konnte Benutzerprofil nicht laden",
|
||||||
|
"Unbans user with given ID": "Hebt die Verbannung des Benutzers mit der angegebenen ID auf",
|
||||||
|
"Using an identity server is optional. If you choose not to use an identity server, you won't be discoverable by other users and you won't be able to invite others by email or phone.": "Die Verwendung eines Identitätsserver ist optional. Solltest du dich dazu entschließen, keinen Identitätsserver zu verwenden, kannst du von anderen Benutzern nicht gefunden werden und andere nicht per E-Mail oder Telefonnummer einladen.",
|
||||||
|
"This is your list of users/servers you have blocked - don't leave the room!": "Dies ist die Liste von Benutzern und Servern, die du blockiert hast - verlasse diesen Raum nicht!",
|
||||||
|
"Show info about bridges in room settings": "Information über Brücken in den Raumeinstellungen anzeigen",
|
||||||
|
"Backup has a signature from <verify>unknown</verify> user with ID %(deviceId)s": "Die Sicherung hat eine Signatur von <verify>unbekanntem</verify> Benutzer mit ID %(deviceId)s",
|
||||||
|
"User rules": "Benutzerregeln",
|
||||||
|
"⚠ These settings are meant for advanced users.": "⚠ Diese Einstellungen sind für fortgeschrittene Benutzer gedacht.",
|
||||||
|
"Whether you're using %(brand)s on a device where touch is the primary input mechanism": "Ob du %(brand)s auf einem Gerät verwendest, bei dem Touch die primäre Eingabemethode ist",
|
||||||
|
"Your user agent": "Dein User-Agent",
|
||||||
|
"If you cancel now, you won't complete verifying the other user.": "Wenn Sie jetzt abbrechen, werden Sie die Verifizierung des anderen Benutzers nicht beenden können.",
|
||||||
|
"Encryption upgrade available": "Verschlüsselungsupgrade verfügbar",
|
||||||
|
"Unknown (user, session) pair:": "Unbekanntes Benutzer-/Sitzungspaar:",
|
||||||
|
"You have verified this user. This user has verified all of their sessions.": "Du hast diesen Benutzer verifiziert. Dieser Benutzer hat alle seine Sitzungen verifiziert.",
|
||||||
|
"Displays information about a user": "Zeigt Informationen über einen Benutzer an",
|
||||||
|
"%(senderName)s created a rule banning users matching %(glob)s for %(reason)s": "%(senderName)s erstellte eine Ausschlussregel für Benutzer, die aufgrund %(reason)s %(glob)s entsprechen",
|
||||||
|
"%(senderName)s created a rule banning rooms matching %(glob)s for %(reason)s": "%(senderName)s erstellte eine Ausschlussregel für Räume, die %(glob)s aufgrund von %(reason)s entsprechen",
|
||||||
|
"Reject & Ignore user": "Ablehnen und Benutzer blockieren",
|
||||||
|
"Support adding custom themes": "Unterstütze das Hinzufügen von benutzerdefinierten Designs",
|
||||||
|
"Ask this user to verify their session, or manually verify it below.": "Bitte diesen Benutzer, seine Sitzung zu verifizieren, oder verifiziere diese unten manuell.",
|
||||||
|
"Error adding ignored user/server": "Fehler beim Blockieren eines Benutzers/Servers",
|
||||||
|
"None": "Keine",
|
||||||
|
"Add users and servers you want to ignore here. Use asterisks to have %(brand)s match any characters. For example, <code>@bot:*</code> would ignore all users that have the name 'bot' on any server.": "Füge hier Benutzer und Server hinzu, die du blockieren willst. Verwende Sternchen, damit %(brand)s mit beliebigen Zeichen übereinstimmt. Bspw. würde <code>@bot:*</code> alle Benutzer ignorieren, die auf einem Server den Namen 'bot' haben.",
|
||||||
|
"Ignoring people is done through ban lists which contain rules for who to ban. Subscribing to a ban list means the users/servers blocked by that list will be hidden from you.": "Das Blockieren von Personen erfolgt über Sperrlisten. Wenn eine Sperrliste abonniert wird, werden die darin aufgeführten Benutzer und Server ausgeblendet.",
|
||||||
|
"Subscribing to a ban list will cause you to join it!": "Eine Verbotsliste zu abonnieren bedeutet ihr beizutreten!",
|
||||||
|
"Your keys are <b>not being backed up from this session</b>.": "Deine Schlüssel werden <b>nicht von dieser Sitzung gesichert</b>.",
|
||||||
|
"You have not verified this user.": "Du hast diesen Benutzer nicht verifiziert.",
|
||||||
|
"Send a reply…": "Antwort senden …",
|
||||||
|
"Send a message…": "Nachricht senden …",
|
||||||
|
"%(errcode)s was returned while trying to access the room. If you think you're seeing this message in error, please <issueLink>submit a bug report</issueLink>.": "%(errcode)s wurde, beim Versuch den Raum zu betreten, zurückgegeben. Wenn du denkst dass diese Meldung nicht korrekt ist, <issueLink>erstelle bitte einen Fehlerbericht</issueLink>.",
|
||||||
|
"Your messages are secured and only you and the recipient have the unique keys to unlock them.": "Diese Nachrichten sind verschlüsselt und nur du und der Empfänger können sie lesen.",
|
||||||
|
"Verify User": "Benutzer verifizieren",
|
||||||
|
"For extra security, verify this user by checking a one-time code on both of your devices.": "Für zusätzliche Sicherheit verifiziere diesen Benutzer durch Vergleichen eines Einmal-Codes auf euren beiden Geräten.",
|
||||||
|
"The homeserver the user you’re verifying is connected to": "Der Heimserver, an dem der zu verifizierende Benutzer angemeldet ist",
|
||||||
|
"If you can't scan the code above, verify by comparing unique emoji.": "Wenn du den obigen Code nicht scannen kannst, verifiziere stattdessen durch den Emoji-Vergleich.",
|
||||||
|
"Verify all users in a room to ensure it's secure.": "Verifiziere alle Benutzer in einem Raum, um die vollständige Sicherheit zu gewährleisten.",
|
||||||
|
"Your user ID": "Deine Benutzer-ID",
|
||||||
|
"Failed to invite the following users to chat: %(csvUsers)s": "Einladen der folgenden Benutzer fehlgeschlagen: %(csvUsers)s",
|
||||||
|
"Something went wrong trying to invite the users.": "Beim Einladen der Benutzer lief etwas schief.",
|
||||||
|
"Failed to find the following users": "Folgende Benutzer konnten nicht gefunden werden",
|
||||||
|
"The following users might not exist or are invalid, and cannot be invited: %(csvNames)s": "Folgende Benutzer konnten nicht eingeladen werden, da sie nicht existieren oder ungültig sind: %(csvNames)s",
|
||||||
|
"Automatically invite users": "Benutzer automatisch einladen",
|
||||||
|
"User Status": "Benutzerstatus",
|
||||||
|
"Verifying this user will mark their session as trusted, and also mark your session as trusted to them.": "Wenn du diesen Benutzer verifizierst, werden seine Sitzungen für dich und deine Sitzungen für ihn als vertrauenswürdig markiert.",
|
||||||
|
"A widget located at %(widgetUrl)s would like to verify your identity. By allowing this, the widget will be able to verify your user ID, but not perform actions as you.": "Ein Widget unter %(widgetUrl)s möchte deine Identität überprüfen. Wenn du dies zulässt, kann das Widget deine Benutzer-ID überprüfen, jedoch keine Aktionen in deinem Namen ausführen.",
|
||||||
|
"User Autocomplete": "Benutzer-Auto-Vervollständigung",
|
||||||
|
"Jump to start/end of the composer": "Springe zum Anfang/Ende der Nachrichteneingabe",
|
||||||
|
"Message bubbles": "Sprechblasen",
|
||||||
|
"Enable advanced debugging for the room list": "Erweiterte Fehlersuche für die Raumliste aktivieren",
|
||||||
|
"Enable experimental, compact IRC style layout": "Kompaktes, experimentelles Layout im IRC-Stil aktivieren",
|
||||||
|
"Enable layout with message bubbles": "Layout mit Sprechblasen aktivieren",
|
||||||
|
"Show message bubbles on one side only": "Sprechblasen nur auf einer Seite anzeigen",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Sprechblasen abhänging von der Breite auf beiden Seiten oder nur einer Seite anzeigen",
|
||||||
|
"%(brand)s can't securely cache encrypted messages locally while running in a web browser. Use <desktopLink>%(brand)s Desktop</desktopLink> for encrypted messages to appear in search results.": "%(brand)s kann verschlüsselte Nachrichten nicht sicher während der Ausführung im Browser durchsuchen. Benutze <desktopLink>%(brand)s Desktop</desktopLink>, um verschlüsselte Nachrichten in den Suchergebnissen angezeigt zu bekommen.",
|
||||||
|
"Use default": "Standardeinstellungen benutzen",
|
||||||
|
"Your firewall or anti-virus is blocking the request.": "Deine Firewall oder dein Antivirenprogramm blockiert die Anfrage.",
|
||||||
|
"Block anyone not part of %(serverName)s from ever joining this room.": "Betreten nur für Benutzer von %(serverName)s erlauben.",
|
||||||
|
"Start a conversation with someone using their name, username (like <userId/>) or email address. This won't invite them to %(communityName)s. To invite someone to %(communityName)s, click <a>here</a>.": "Starte ein Gespräch mit jemandem unter Verwendung seines/ihres Namens, Benutzernamens (wie <userId/>) oder E-Mail-Adresse. Dadurch werden sie nicht zu %(communityName)s eingeladen. Klicke hier <a>hier</a>, um jemanden zu %(communityName)s einzuladen.",
|
||||||
|
"User settings": "Benutzer-Einstellungen",
|
||||||
|
"Community and user menu": "Community- und Benutzer-Menü",
|
||||||
|
"Render LaTeX maths in messages": "LaTeX-Matheformeln in Nachrichten anzeigen",
|
||||||
|
"Use email to optionally be discoverable by existing contacts.": "Nutze optional eine E-Mail-Adresse, um von Benutzern gefunden werden zu können.",
|
||||||
|
"Use email or phone to optionally be discoverable by existing contacts.": "Nutze optional eine E-Mail-Adresse oder Telefonnummer, um von Benutzern gefunden werden zu können.",
|
||||||
|
"Host account on": "Benutzerkonto betreiben auf",
|
||||||
|
"A call can only be transferred to a single user.": "Ein Anruf kann nur auf einen einzelnen Benutzer übertragen werden.",
|
||||||
|
"Change which room, message, or user you're viewing": "Ändere, welchen Raum, welche Nachricht oder welchen Benutzer du siehst",
|
||||||
|
"Unable to look up phone number": "Telefonnummer kann nicht gefunden werden",
|
||||||
|
"The widget will verify your user ID, but won't be able to perform actions for you:": "Das Widget überprüft deine Benutzer-ID, kann jedoch keine Aktionen für dich ausführen:",
|
||||||
|
"Abort": "Abbrechen",
|
||||||
|
"Add existing room": "Existierenden Raum hinzufügen",
|
||||||
|
"Message layout": "Nachrichtenlayout",
|
||||||
|
"Modern": "Modern",
|
||||||
|
"Show people and rooms in a combined list": "Personen und Räume in einer gemeinsamen Liste anzeigen",
|
||||||
|
"Update notifications": "Updatebenachrichtigungen",
|
||||||
|
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Möchtest du einem Raum beitreten, der dich über neue Updates informiert? Das ist besonders nützlich, wenn deine Plattform keine automatischen Updates für SchildiChat unterstützt (z. B. Windows und macOS).",
|
||||||
|
"Don't ask again": "Nicht erneut fragen"
|
||||||
|
}
|
12
i18n-overlays/matrix-react-sdk/en_EN.json
Normal file
12
i18n-overlays/matrix-react-sdk/en_EN.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"Show message bubbles on one side only": "Show message bubbles on one side only",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Show message bubbles depending on the width either on both sides or only on one side",
|
||||||
|
"Message bubbles": "Message bubbles",
|
||||||
|
"Normal priority": "Normal priority",
|
||||||
|
"Message layout": "Message layout",
|
||||||
|
"Modern": "Modern",
|
||||||
|
"Show people and rooms in a combined list": "Show people and rooms in a combined list",
|
||||||
|
"Update notifications": "Update notifications",
|
||||||
|
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).",
|
||||||
|
"Don't ask again": "Don't ask again"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/es.json
Normal file
7
i18n-overlays/matrix-react-sdk/es.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Show message bubbles on one side only": "mostrar las burbujas de mensajes en un solo lado",
|
||||||
|
"Message bubbles": "Burbujas de mensajes",
|
||||||
|
"Normal priority": "Prioridad normal",
|
||||||
|
"Enable layout with message bubbles": "Activar diseño con mensajes de burbujas",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Mostrar mensajes de burbuja dependiendo del tamaño tanto en ambos lados o solo en un lado"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/et.json
Normal file
7
i18n-overlays/matrix-react-sdk/et.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Enable layout with message bubbles": "Sõnumimullidega paigutuse lubamine",
|
||||||
|
"Show message bubbles on one side only": "Näita sõnumimulle ainult ühel poolel",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Näita sõnumimullid sõltuvalt laiusest kas mõlemal või ainult ühel küljel",
|
||||||
|
"Normal priority": "Tavaline prioriteet",
|
||||||
|
"Message bubbles": "Sõnumimullid"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/eu.json
Normal file
7
i18n-overlays/matrix-react-sdk/eu.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Show message bubbles on one side only": "Erakutsi mezu burbuilak alde batetik bakarrik",
|
||||||
|
"Message bubbles": "Mezu burbuilak",
|
||||||
|
"Normal priority": "Normala lehentasuna",
|
||||||
|
"Enable layout with message bubbles": "Gaitu diseinua batera mezua burbuilak",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Erakutsi mezu burbuilak arabera zabalera bai, bi aldeetatik edo alde batetik bakarrik"
|
||||||
|
}
|
9
i18n-overlays/matrix-react-sdk/fr.json
Normal file
9
i18n-overlays/matrix-react-sdk/fr.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"Show message bubbles on one side only": "Afficher les bulles de message sur un seul côté",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Afficher les bulles de message selon la largeur soit sur un seul côté, soit sur les deux",
|
||||||
|
"Message bubbles": "Bulles de message",
|
||||||
|
"Normal priority": "Priorité normale",
|
||||||
|
"Message layout": "Disposition des messages",
|
||||||
|
"Modern": "Moderne",
|
||||||
|
"Show people and rooms in a combined list": "Afficher les personnes et les salons dans une liste combinée"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/hu.json
Normal file
7
i18n-overlays/matrix-react-sdk/hu.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Enable layout with message bubbles": "Üzenetbuborékos elrendezés engedélyezése",
|
||||||
|
"Show message bubbles on one side only": "Üzenetbuborékok megjelenítése csak az egyik oldalon",
|
||||||
|
"Message bubbles": "Üzenet buborékok",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Üzenetbuborékok megjelenítése a szélességtől függően mindkét oldalon vagy csak az egyik oldalon",
|
||||||
|
"Normal priority": "Normál prioritás"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/lt.json
Normal file
7
i18n-overlays/matrix-react-sdk/lt.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Normal priority": "Normalaus prioriteto",
|
||||||
|
"Modern": "Modernus",
|
||||||
|
"Message bubbles": "Žinučių burbulai",
|
||||||
|
"Message layout": "Žinučių išdėstymas",
|
||||||
|
"Show people and rooms in a combined list": "Asmenų ir kambarių rodymas bendrame sąraše"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/nl.json
Normal file
7
i18n-overlays/matrix-react-sdk/nl.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Show message bubbles on one side only": "Boodschappenbubbels slechts aan één kant tonen",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Toon berichtbubbels, afhankelijk van de breedte, aan beide zijden of slechts aan één zijde",
|
||||||
|
"Message bubbles": "Boodschap bellen",
|
||||||
|
"Normal priority": "Normale prioriteit",
|
||||||
|
"Enable layout with message bubbles": "Schakel lay-out in met tekstballonnen"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/pt_BR.json
Normal file
7
i18n-overlays/matrix-react-sdk/pt_BR.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Enable layout with message bubbles": "Habilitar layout com bolhas de mensagem",
|
||||||
|
"Message bubbles": "Bolhas de mensagens",
|
||||||
|
"Normal priority": "Prioridade normal",
|
||||||
|
"Show message bubbles on one side only": "Mostrar bolhas de mensagem em apenas um lado",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Mostrar bolhas de mensagem dependendo da largura de ambos os lados ou somente de um lado"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/ru.json
Normal file
7
i18n-overlays/matrix-react-sdk/ru.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Message bubbles": "Пузырьки сообщений",
|
||||||
|
"Normal priority": "Нормальный приоритет",
|
||||||
|
"Enable layout with message bubbles": "Включение макета с пузырьками сообщений",
|
||||||
|
"Show message bubbles on one side only": "Показывайте пузырьки с сообщениями только на одной стороне",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Показывать пузырьки сообщений в зависимости от ширины либо с обеих сторон, либо только с одной стороны"
|
||||||
|
}
|
7
i18n-overlays/matrix-react-sdk/sk.json
Normal file
7
i18n-overlays/matrix-react-sdk/sk.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Enable layout with message bubbles": "Povolenie rozloženia s bublinami správ",
|
||||||
|
"Show message bubbles on one side only": "Zobrazenie bublín správ len na jednej strane",
|
||||||
|
"Show message bubbles depending on the width either on both sides or only on one side": "Zobrazenie bublín správ v závislosti od šírky buď na oboch stranách, alebo len na jednej strane",
|
||||||
|
"Message bubbles": "Bubliny správ",
|
||||||
|
"Normal priority": "Normálna priorita"
|
||||||
|
}
|
Submodule matrix-js-sdk updated: a9c4c51e62...4c5790814e
Submodule matrix-react-sdk updated: c1e1e0c552...c93fdd2be8
@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
SCHILDI_ROOT="$(dirname "$(realpath "$0")")"
|
SCHILDI_ROOT="$(dirname "$(realpath "$0")")"
|
||||||
|
|
||||||
|
i18n_helper_path="$SCHILDI_ROOT/i18n-helper/index.js"
|
||||||
|
i18n_path="src/i18n/strings"
|
||||||
|
i18n_overlay_path="$SCHILDI_ROOT/i18n-overlays"
|
||||||
|
|
||||||
|
yarn=yarnpkg
|
||||||
|
|
||||||
add_upstream() {
|
add_upstream() {
|
||||||
if git remote | grep -q upstream; then
|
if git remote | grep -q upstream; then
|
||||||
echo "Remote named upstream already exists!"
|
echo "Remote named upstream already exists!"
|
||||||
@ -52,3 +58,65 @@ check_branch() {
|
|||||||
ensure_yes "$repo_name not in branch $1. Continue?"
|
ensure_yes "$repo_name not in branch $1. Continue?"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_clean_git() {
|
||||||
|
# Require clean git state
|
||||||
|
uncommitted=`git status --porcelain`
|
||||||
|
if [ ! -z "$uncommitted" ]; then
|
||||||
|
echo "Uncommitted changes are present, please commit first!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
revert_i18n_changes() {
|
||||||
|
local i18n_path="$1"
|
||||||
|
local skip_commit="$2"
|
||||||
|
|
||||||
|
git checkout upstream/master -- "$i18n_path"
|
||||||
|
|
||||||
|
$yarn i18n
|
||||||
|
|
||||||
|
if [[ "$skip_commit" != [Yy]* ]]; then
|
||||||
|
git commit -m "Automatic i18n reversion" || true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
apply_i18n_changes() {
|
||||||
|
local i18n_path="$1"
|
||||||
|
|
||||||
|
git add "$i18n_path"
|
||||||
|
git commit -m "Automatic i18n adjustment" || true
|
||||||
|
}
|
||||||
|
|
||||||
|
automatic_i18n_reversion() {
|
||||||
|
local skip_commit="$1"
|
||||||
|
|
||||||
|
pushd "$SCHILDI_ROOT/matrix-react-sdk" > /dev/null
|
||||||
|
revert_i18n_changes "$i18n_path" $skip_commit
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
pushd "$SCHILDI_ROOT/element-web" > /dev/null
|
||||||
|
revert_i18n_changes "$i18n_path" $skip_commit
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
pushd "$SCHILDI_ROOT/element-desktop" > /dev/null
|
||||||
|
revert_i18n_changes "$i18n_path" $skip_commit
|
||||||
|
popd > /dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
automatic_i18n_adjustment() {
|
||||||
|
node "$i18n_helper_path" "$SCHILDI_ROOT/matrix-react-sdk/$i18n_path" "$i18n_overlay_path/matrix-react-sdk"
|
||||||
|
pushd "$SCHILDI_ROOT/matrix-react-sdk" > /dev/null
|
||||||
|
apply_i18n_changes "$i18n_path"
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
node "$i18n_helper_path" "$SCHILDI_ROOT/element-web/$i18n_path" "$i18n_overlay_path/element-web"
|
||||||
|
pushd "$SCHILDI_ROOT/element-web" > /dev/null
|
||||||
|
apply_i18n_changes "$i18n_path"
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
node "$i18n_helper_path" "$SCHILDI_ROOT/element-desktop/$i18n_path" "$i18n_overlay_path/element-desktop"
|
||||||
|
pushd "$SCHILDI_ROOT/element-desktop" > /dev/null
|
||||||
|
apply_i18n_changes "$i18n_path"
|
||||||
|
popd > /dev/null
|
||||||
|
}
|
||||||
|
@ -9,19 +9,30 @@ pushd "$mydir" > /dev/null
|
|||||||
|
|
||||||
source ./merge_helpers.sh
|
source ./merge_helpers.sh
|
||||||
|
|
||||||
|
# Check branch
|
||||||
check_branch $branch
|
check_branch $branch
|
||||||
forall_repos check_branch $branch
|
forall_repos check_branch $branch
|
||||||
|
|
||||||
|
# Ensure clean git state
|
||||||
|
forall_repos check_clean_git
|
||||||
|
|
||||||
|
# Automatic i18n reversion
|
||||||
|
automatic_i18n_reversion
|
||||||
|
|
||||||
|
# Merge
|
||||||
forall_repos git fetch upstream
|
forall_repos git fetch upstream
|
||||||
forall_repos git merge upstream/master
|
forall_repos git merge upstream/master
|
||||||
|
|
||||||
|
# Refresh environment
|
||||||
|
make clean
|
||||||
|
make setup
|
||||||
|
|
||||||
|
# Automatic i18n adjustment
|
||||||
|
automatic_i18n_adjustment
|
||||||
|
|
||||||
# Automatic theme update
|
# Automatic theme update
|
||||||
pushd "matrix-react-sdk" > /dev/null
|
pushd "matrix-react-sdk" > /dev/null
|
||||||
./theme.sh
|
./theme.sh
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
# Refresh environment
|
|
||||||
make clean
|
|
||||||
make setup
|
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
25
regenerate_i18n.sh
Executable file
25
regenerate_i18n.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mydir="$(dirname "$(realpath "$0")")"
|
||||||
|
branch=${BRANCH:-"sc"}
|
||||||
|
|
||||||
|
pushd "$mydir" > /dev/null
|
||||||
|
|
||||||
|
source ./merge_helpers.sh
|
||||||
|
|
||||||
|
# Check branch
|
||||||
|
check_branch $branch
|
||||||
|
forall_repos check_branch $branch
|
||||||
|
|
||||||
|
# Ensure clean git state
|
||||||
|
forall_repos check_clean_git
|
||||||
|
|
||||||
|
# Automatic i18n reversion
|
||||||
|
automatic_i18n_reversion y
|
||||||
|
|
||||||
|
# Automatic i18n adjustment
|
||||||
|
automatic_i18n_adjustment
|
||||||
|
|
||||||
|
popd > /dev/null
|
Binary file not shown.
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 293 KiB |
Binary file not shown.
Before Width: | Height: | Size: 259 KiB After Width: | Height: | Size: 266 KiB |
Reference in New Issue
Block a user