mirror of
https://github.com/syncthing/syncthing.git
synced 2026-01-10 06:49:31 -05:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f1e27bb7f | ||
|
|
a85b4ab263 | ||
|
|
cf962a4fe8 | ||
|
|
39c0bfa05a | ||
|
|
458d6cff2a |
2
.github/workflows/build-syncthing.yaml
vendored
2
.github/workflows/build-syncthing.yaml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
env:
|
||||
# The go version to use for builds.
|
||||
GO_VERSION: "1.19.4"
|
||||
GO_VERSION: "1.19.5"
|
||||
|
||||
# Optimize compatibility on the slow archictures.
|
||||
GO386: softfloat
|
||||
|
||||
8
build.go
8
build.go
@@ -320,6 +320,9 @@ func runCommand(cmd string, target target) {
|
||||
case "transifex":
|
||||
transifex()
|
||||
|
||||
case "weblate":
|
||||
weblate()
|
||||
|
||||
case "tar":
|
||||
buildTar(target, tags)
|
||||
|
||||
@@ -953,6 +956,11 @@ func transifex() {
|
||||
runPrint(goCmd, "run", "../../../../script/transifexdl.go")
|
||||
}
|
||||
|
||||
func weblate() {
|
||||
os.Chdir("gui/default/assets/lang")
|
||||
runPrint(goCmd, "run", "../../../../script/weblatedl.go")
|
||||
}
|
||||
|
||||
func ldflags(tags []string) string {
|
||||
b := new(strings.Builder)
|
||||
b.WriteString("-w")
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Приложението за SMS би трябвало да се отвори, да ви даде възможност да изберете получател, за да изпратите съобщението от вашия телефонен номер.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Пощенският клиент би трябвало да се отвори, да ви даде възможност да изберете получател, за да изпратите съобщението от вашия адрес за електронна поща.",
|
||||
"days": "дни",
|
||||
"deleted": "deleted",
|
||||
"directories": "папки",
|
||||
"file": "file",
|
||||
"files": "файла",
|
||||
"folder": "folder",
|
||||
"full documentation": "пълна документация",
|
||||
"items": "елемента",
|
||||
"modified": "modified",
|
||||
"seconds": "секунди",
|
||||
"theme-name-black": "Черна",
|
||||
"theme-name-dark": "Тъмна",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "dies",
|
||||
"deleted": "deleted",
|
||||
"directories": "directoris",
|
||||
"file": "file",
|
||||
"files": "arxius",
|
||||
"folder": "folder",
|
||||
"full documentation": "Documentació completa",
|
||||
"items": "Elements",
|
||||
"modified": "modified",
|
||||
"seconds": "segons",
|
||||
"theme-name-black": "Negre",
|
||||
"theme-name-dark": "Fosc",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "dní",
|
||||
"deleted": "deleted",
|
||||
"directories": "složky",
|
||||
"file": "file",
|
||||
"files": "souborů",
|
||||
"folder": "folder",
|
||||
"full documentation": "úplná dokumentace",
|
||||
"items": "položky",
|
||||
"modified": "modified",
|
||||
"seconds": "sekund",
|
||||
"theme-name-black": "Černý",
|
||||
"theme-name-dark": "Tmavý",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "dage",
|
||||
"deleted": "deleted",
|
||||
"directories": "kataloger",
|
||||
"file": "file",
|
||||
"files": "filer",
|
||||
"folder": "folder",
|
||||
"full documentation": "fuld dokumentation",
|
||||
"items": "filer",
|
||||
"modified": "modified",
|
||||
"seconds": "sekunder",
|
||||
"theme-name-black": "Sort",
|
||||
"theme-name-dark": "Mørk",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Ihre SMS-App sollte sich öffnen, damit Sie den Empfänger auswählen und die Nachricht von Ihrer eigenen Nummer aus versenden können.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Ihre E-Mail-App sollte sich öffnen, damit Sie den Empfänger auswählen und die Nachricht von Ihrer eigenen Adresse aus versenden können.",
|
||||
"days": "Tage",
|
||||
"deleted": "gelöscht",
|
||||
"directories": "Verzeichnisse",
|
||||
"file": "Datei",
|
||||
"files": "Dateien",
|
||||
"folder": "Ordner",
|
||||
"full documentation": "Komplette Dokumentation",
|
||||
"items": "Elemente",
|
||||
"modified": "geändert",
|
||||
"seconds": "Sekunden",
|
||||
"theme-name-black": "Schwarz",
|
||||
"theme-name-dark": "Dunkel",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "days",
|
||||
"deleted": "deleted",
|
||||
"directories": "directories",
|
||||
"file": "file",
|
||||
"files": "files",
|
||||
"folder": "folder",
|
||||
"full documentation": "full documentation",
|
||||
"items": "items",
|
||||
"modified": "modified",
|
||||
"seconds": "seconds",
|
||||
"theme-name-black": "Black",
|
||||
"theme-name-dark": "Dark",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "days",
|
||||
"deleted": "deleted",
|
||||
"directories": "directories",
|
||||
"file": "file",
|
||||
"files": "files",
|
||||
"folder": "folder",
|
||||
"full documentation": "full documentation",
|
||||
"items": "items",
|
||||
"modified": "modified",
|
||||
"seconds": "seconds",
|
||||
"theme-name-black": "Black",
|
||||
"theme-name-dark": "Dark",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "days",
|
||||
"deleted": "deleted",
|
||||
"directories": "directories",
|
||||
"file": "file",
|
||||
"files": "files",
|
||||
"folder": "folder",
|
||||
"full documentation": "full documentation",
|
||||
"items": "items",
|
||||
"modified": "modified",
|
||||
"seconds": "seconds",
|
||||
"theme-name-black": "Black",
|
||||
"theme-name-dark": "Dark",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "días",
|
||||
"deleted": "deleted",
|
||||
"directories": "directorios",
|
||||
"file": "file",
|
||||
"files": "archivos",
|
||||
"folder": "folder",
|
||||
"full documentation": "Documentación completa",
|
||||
"items": "Elementos",
|
||||
"modified": "modified",
|
||||
"seconds": "segundos",
|
||||
"theme-name-black": "Negro",
|
||||
"theme-name-dark": "Oscuro",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "días",
|
||||
"deleted": "deleted",
|
||||
"directories": "directorios",
|
||||
"file": "file",
|
||||
"files": "archivos",
|
||||
"folder": "folder",
|
||||
"full documentation": "Documentación completa",
|
||||
"items": "Elementos",
|
||||
"modified": "modified",
|
||||
"seconds": "segundos",
|
||||
"theme-name-black": "Negro",
|
||||
"theme-name-dark": "Oscuro",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "Egunak",
|
||||
"deleted": "deleted",
|
||||
"directories": "Karpetak",
|
||||
"file": "file",
|
||||
"files": "Fitxategiak",
|
||||
"folder": "folder",
|
||||
"full documentation": "Dokumentazio osoa",
|
||||
"items": "Elementuak",
|
||||
"modified": "modified",
|
||||
"seconds": "segunduak",
|
||||
"theme-name-black": "Black",
|
||||
"theme-name-dark": "Dark",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Votre application de SMS devrait s'ouvrir pour vous laisser choisir le ou les destinataires et l'envoyer de votre part.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Votre application de courriels devrait s'ouvrir pour vous laisser choisir le ou les destinataires et l'envoyer de votre part.",
|
||||
"days": "Jours",
|
||||
"deleted": "supprimé",
|
||||
"directories": "répertoires",
|
||||
"file": "fichier",
|
||||
"files": "Fichiers",
|
||||
"folder": "répertoire",
|
||||
"full documentation": "Documentation complète ici (en anglais)",
|
||||
"items": "élément(s)",
|
||||
"modified": "modifié",
|
||||
"seconds": "secondes",
|
||||
"theme-name-black": "Noir",
|
||||
"theme-name-dark": "Sombre",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "dagen",
|
||||
"deleted": "deleted",
|
||||
"directories": "triemtafels",
|
||||
"file": "file",
|
||||
"files": "triemmen",
|
||||
"folder": "folder",
|
||||
"full documentation": "komplete dokumintaasje",
|
||||
"items": "items",
|
||||
"modified": "modified",
|
||||
"seconds": "sekonden",
|
||||
"theme-name-black": "Black",
|
||||
"theme-name-dark": "Dark",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Az SMS alkalmazásnak meg kell nyílnia, hogy kiválaszthassa a címzettet, és elküldhesse a saját számáról.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Az e-mail alkalmazásnak meg kell nyílnia, hogy kiválaszthassa a címzettet, és elküldhesse a saját címéről.",
|
||||
"days": "nap",
|
||||
"deleted": "deleted",
|
||||
"directories": "mappa",
|
||||
"file": "file",
|
||||
"files": "fájl",
|
||||
"folder": "folder",
|
||||
"full documentation": "teljes dokumentáció",
|
||||
"items": "elem",
|
||||
"modified": "modified",
|
||||
"seconds": "másodperc",
|
||||
"theme-name-black": "Fekete",
|
||||
"theme-name-dark": "Sötét",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "hari",
|
||||
"deleted": "deleted",
|
||||
"directories": "direktori",
|
||||
"file": "file",
|
||||
"files": "berkas",
|
||||
"folder": "folder",
|
||||
"full documentation": "dokumentasi penuh",
|
||||
"items": "berkas",
|
||||
"modified": "modified",
|
||||
"seconds": "detik",
|
||||
"theme-name-black": "Hitam",
|
||||
"theme-name-dark": "Gelap",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "La tua app SMS dovrebbe aprirsi per permetterti di scegliere il destinatario e inviarlo dal tuo numero.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "La tua app di posta elettronica dovrebbe aprirsi per consentirti di scegliere il destinatario e inviarlo dal tuo indirizzo.",
|
||||
"days": "giorni",
|
||||
"deleted": "deleted",
|
||||
"directories": "directory",
|
||||
"file": "file",
|
||||
"files": "file",
|
||||
"folder": "folder",
|
||||
"full documentation": "documentazione completa",
|
||||
"items": "elementi",
|
||||
"modified": "modified",
|
||||
"seconds": "secondi",
|
||||
"theme-name-black": "Nero",
|
||||
"theme-name-dark": "Scuro",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "日",
|
||||
"deleted": "削除",
|
||||
"directories": "個のディレクトリ",
|
||||
"file": "file",
|
||||
"files": "個のファイル",
|
||||
"folder": "folder",
|
||||
"full documentation": "詳細なマニュアル",
|
||||
"items": "項目",
|
||||
"modified": "更新",
|
||||
"seconds": "seconds",
|
||||
"theme-name-black": "ブラック",
|
||||
"theme-name-dark": "ダーク",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "문자 애플리케이션이 실행되면 수신자를 선택한 후 본인의 전화번호에서 메시지를 전송하십시오.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "메일 애플리케이션이 실행되면 수신자를 선택한 후 본인의 주소에서 메시지를 전송하십시오.",
|
||||
"days": "일",
|
||||
"deleted": "삭제됨",
|
||||
"directories": "개의 폴더",
|
||||
"file": "파일",
|
||||
"files": "개의 파일",
|
||||
"folder": "폴더",
|
||||
"full documentation": "전체 사용 설명서",
|
||||
"items": "개의 항목",
|
||||
"modified": "수정됨",
|
||||
"seconds": "초",
|
||||
"theme-name-black": "검은색",
|
||||
"theme-name-dark": "어두운 색",
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
"GUI Authentication: Set User and Password": "Valdymo skydelio tapatybės nustatymas: Nustatyti vartotoją ir slaptažodį",
|
||||
"GUI Listen Address": "Valdymo skydelio adresas",
|
||||
"GUI Override Directory": "GUI Override Directory",
|
||||
"GUI Theme": "Valdymo skydelio tema",
|
||||
"GUI Theme": "Valdymo skydelio apipavidalinimas",
|
||||
"General": "Bendra",
|
||||
"Generate": "Sukurti",
|
||||
"Global Discovery": "Visuotinis matomumas",
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "dienos",
|
||||
"deleted": "ištrintas",
|
||||
"directories": "katalogai",
|
||||
"file": "failas",
|
||||
"files": "failai",
|
||||
"folder": "aplankas",
|
||||
"full documentation": "pilna dokumentacija",
|
||||
"items": "įrašai",
|
||||
"modified": "modifikuotas",
|
||||
"seconds": "sek.",
|
||||
"theme-name-black": "Black",
|
||||
"theme-name-dark": "Dark",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Uw sms-app zou moeten openen om u de ontvanger te laten kiezen en het te versturen vanaf uw eigen nummer.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Uw e-mail-app zou moeten openen om u de ontvanger te laten kiezen en het te versturen vanaf uw eigen adres.",
|
||||
"days": "dagen",
|
||||
"deleted": "deleted",
|
||||
"directories": "mappen",
|
||||
"file": "file",
|
||||
"files": "bestanden",
|
||||
"folder": "folder",
|
||||
"full documentation": "volledige documentatie",
|
||||
"items": "items",
|
||||
"modified": "modified",
|
||||
"seconds": "seconden",
|
||||
"theme-name-black": "Zwart",
|
||||
"theme-name-dark": "Donker",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Aplikacja do SMS-ów powinna się uruchomić, a następnie pozwolić na wybór odbiorcy oraz wysłanie tej wiadomości z własnego numeru.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Aplikacja pocztowa powinna się uruchomić, a następnie pozwolić na wybór odbiorcy oraz wysłanie tej wiadomości z własnego adresu.",
|
||||
"days": "dni",
|
||||
"deleted": "usunięcie",
|
||||
"directories": "katalogi",
|
||||
"file": "plik",
|
||||
"files": "pliki",
|
||||
"folder": "folder",
|
||||
"full documentation": "pełna dokumentacja",
|
||||
"items": "elementy",
|
||||
"modified": "modyfikacja",
|
||||
"seconds": "sekundy",
|
||||
"theme-name-black": "Czarny",
|
||||
"theme-name-dark": "Ciemny",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Seu aplicativo SMS deve abrir para que você possa escolher o destinatário e enviar a partir de seu próprio número.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Seu aplicativo de e-mail deve abrir para que você escolha o destinatário e o envie de seu próprio e-mail.",
|
||||
"days": "dias",
|
||||
"deleted": "deleted",
|
||||
"directories": "diretórios",
|
||||
"file": "file",
|
||||
"files": "arquivos",
|
||||
"folder": "folder",
|
||||
"full documentation": "documentação completa",
|
||||
"items": "itens",
|
||||
"modified": "modified",
|
||||
"seconds": "segundos",
|
||||
"theme-name-black": "Preto",
|
||||
"theme-name-dark": "Escuro",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "A sua aplicação de SMS deverá abrir para deixar escolher o destinatário e enviar a partir do seu próprio número.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "A sua aplicação de email deverá abrir para deixar escolher o destinatário e enviar a partir do seu próprio endereço.",
|
||||
"days": "dias",
|
||||
"deleted": "deleted",
|
||||
"directories": "pastas",
|
||||
"file": "file",
|
||||
"files": "ficheiros",
|
||||
"folder": "folder",
|
||||
"full documentation": "documentação completa",
|
||||
"items": "itens",
|
||||
"modified": "modified",
|
||||
"seconds": "segundos",
|
||||
"theme-name-black": "Preto",
|
||||
"theme-name-dark": "Escuro",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "Zile",
|
||||
"deleted": "deleted",
|
||||
"directories": "directories",
|
||||
"file": "file",
|
||||
"files": "files",
|
||||
"folder": "folder",
|
||||
"full documentation": "toată documentaţia",
|
||||
"items": "obiecte",
|
||||
"modified": "modified",
|
||||
"seconds": "seconds",
|
||||
"theme-name-black": "Black",
|
||||
"theme-name-dark": "Dark",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "дней",
|
||||
"deleted": "deleted",
|
||||
"directories": "папок",
|
||||
"file": "file",
|
||||
"files": "файлов",
|
||||
"folder": "folder",
|
||||
"full documentation": "полная документация",
|
||||
"items": "элементы",
|
||||
"modified": "modified",
|
||||
"seconds": "сек.",
|
||||
"theme-name-black": "Чёрная",
|
||||
"theme-name-dark": "Тёманя",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "දින",
|
||||
"deleted": "deleted",
|
||||
"directories": "නාමාවලි",
|
||||
"file": "file",
|
||||
"files": "ගොනු",
|
||||
"folder": "folder",
|
||||
"full documentation": "සම්පූර්ණ ලියකියවිලි",
|
||||
"items": "අයිතම",
|
||||
"modified": "modified",
|
||||
"seconds": "තත්පර",
|
||||
"theme-name-black": "කලු",
|
||||
"theme-name-dark": "අඳුරු",
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"Are you sure you want to restore {%count%} files?": "Ste prepričani, da želite obnoviti {{count}} datotek?",
|
||||
"Are you sure you want to revert all local changes?": "Ste prepričani, da želite povrniti vse lokalne spremembe?",
|
||||
"Are you sure you want to upgrade?": "Ali ste prepričani, da želite nadgraditi?",
|
||||
"Authors": "Authors",
|
||||
"Authors": "Avtorji",
|
||||
"Auto Accept": "Samodejno sprejmi",
|
||||
"Automatic Crash Reporting": "Avtomatsko poročanje o sesutju",
|
||||
"Automatic upgrade now offers the choice between stable releases and release candidates.": "Samodejna nadgradnja zdaj ponuja izbiro med stabilnimi izdajami in kandidati za izdajo.",
|
||||
@@ -58,7 +58,7 @@
|
||||
"Comment, when used at the start of a line": "Komentar uporabljen na začetku vrstice",
|
||||
"Compression": "Stisnjeno",
|
||||
"Configuration Directory": "Configuration Directory",
|
||||
"Configuration File": "Configuration File",
|
||||
"Configuration File": "Konfiguracijska datoteka",
|
||||
"Configured": "Nastavljeno",
|
||||
"Connected (Unused)": "Povezano (neuporabljeno)",
|
||||
"Connection Error": "Napaka povezave",
|
||||
@@ -68,13 +68,13 @@
|
||||
"Continuously watching for changes is now available within Syncthing. This will detect changes on disk and issue a scan on only the modified paths. The benefits are that changes are propagated quicker and that less full scans are required.": "Nenehno spremljanje sprememb je zdaj na voljo v Syncthing-u. To bo zaznalo spremembe na disku in izdalo skeniranje samo na spremenjenih poteh. Prednosti so, da se spremembe hitreje širijo in da je potrebnih manj popolnih pregledov.",
|
||||
"Copied from elsewhere": "Prekopirano od drugod.",
|
||||
"Copied from original": "Kopiranje z originala",
|
||||
"Copied!": "Copied!",
|
||||
"Copy": "Copy",
|
||||
"Copy failed! Try to select and copy manually.": "Copy failed! Try to select and copy manually.",
|
||||
"Copied!": "Kopirano!",
|
||||
"Copy": "Kopiraj",
|
||||
"Copy failed! Try to select and copy manually.": "Kopiranje ni uspelo! Poskusite kopirati ročno.",
|
||||
"Currently Shared With Devices": "Trenutno deljeno z napravami",
|
||||
"Custom Range": "Obseg po meri",
|
||||
"Danger!": "Nevarno!",
|
||||
"Database Location": "Database Location",
|
||||
"Database Location": "Lokacija baze podatkov",
|
||||
"Debugging Facilities": "Možnosti za odpravljanje napak",
|
||||
"Default Configuration": "Privzeta konfiguracija",
|
||||
"Default Device": "Privzeta naprava",
|
||||
@@ -89,7 +89,7 @@
|
||||
"Deselect folders to stop sharing with this device.": "Prekliči mape, da se ne delijo več z to napravo.",
|
||||
"Device": "Naprava",
|
||||
"Device \"{%name%}\" ({%device%} at {%address%}) wants to connect. Add new device?": "Naprava \"{{name}}\" {{device}} na ({{address}}) želi vzpostaviti povezavo. Dodaj novo napravo?",
|
||||
"Device Certificate": "Device Certificate",
|
||||
"Device Certificate": "Certifikat naprave",
|
||||
"Device ID": "ID Naprave",
|
||||
"Device Identification": "Identifikacija naprave",
|
||||
"Device Name": "Ime naprave",
|
||||
@@ -211,7 +211,7 @@
|
||||
"Last seen": "Zadnjič videno",
|
||||
"Latest Change": "Najnovejša sprememba",
|
||||
"Learn more": "Nauči se več",
|
||||
"Learn more at {%url%}": "Learn more at {{url}}",
|
||||
"Learn more at {%url%}": "Več na {{url}}",
|
||||
"Limit": "Omejitev",
|
||||
"Listener Failures": "Napake vmesnika",
|
||||
"Listener Status": "Stanje vmesnika",
|
||||
@@ -224,7 +224,7 @@
|
||||
"Local State (Total)": "Krajevno stanje (vsota)",
|
||||
"Locally Changed Items": "Lokalno spremenjeni predmeti",
|
||||
"Log": "Dnevnik",
|
||||
"Log File": "Log File",
|
||||
"Log File": "Datoteka dnevnika dogodkov",
|
||||
"Log tailing paused. Scroll to the bottom to continue.": "Odvajanje dnevnika je zaustavljeno. Za nadaljevanje se pomaknite do dna.",
|
||||
"Logs": "Dnevniki",
|
||||
"Major Upgrade": "Večja nadgradnja",
|
||||
@@ -234,9 +234,9 @@
|
||||
"Minimum Free Disk Space": "Minimalen nezaseden prostor na disku",
|
||||
"Mod. Device": "Spremenjeno od naprave",
|
||||
"Mod. Time": "Čas spremembe",
|
||||
"More than a month ago": "More than a month ago",
|
||||
"More than a week ago": "More than a week ago",
|
||||
"More than a year ago": "More than a year ago",
|
||||
"More than a month ago": "Več kot mesec nazaj",
|
||||
"More than a week ago": "Več kot teden nazaj",
|
||||
"More than a year ago": "Več kot leto nazaj",
|
||||
"Move to top of queue": "Premakni na vrh čakalne vrste",
|
||||
"Multi level wildcard (matches multiple directory levels)": "Več ravni map (sklada se z več ravni map in podmap)",
|
||||
"Never": "Nikoli",
|
||||
@@ -263,7 +263,7 @@
|
||||
"Path": "Pot",
|
||||
"Path to the folder on the local computer. Will be created if it does not exist. The tilde character (~) can be used as a shortcut for": "Pot do mape v lokalnem računalniku. Ustvarjeno bo, če ne obstaja. Znak tilde (~) lahko uporabite kot bližnjico za",
|
||||
"Path where versions should be stored (leave empty for the default .stversions directory in the shared folder).": "Pot, kjer naj bodo shranjene različice (pustite prazno za privzeto mapo .stversions v mapi skupne rabe).",
|
||||
"Paths": "Paths",
|
||||
"Paths": "Poti",
|
||||
"Pause": "Premor",
|
||||
"Pause All": "Začasno ustavi vse",
|
||||
"Paused": "V premoru",
|
||||
@@ -281,10 +281,10 @@
|
||||
"Preparing to Sync": "Priprava na sinhronizacijo",
|
||||
"Preview": "Predogled",
|
||||
"Preview Usage Report": "Predogled poročila uporabe",
|
||||
"QR code": "QR code",
|
||||
"QR code": "QR koda",
|
||||
"QUIC LAN": "QUIC LAN",
|
||||
"QUIC WAN": "QUIC WAN",
|
||||
"QUIC connections are in most cases considered suboptimal": "QUIC connections are in most cases considered suboptimal",
|
||||
"QUIC connections are in most cases considered suboptimal": "QUIC povezave običajno niso optimalne",
|
||||
"Quick guide to supported patterns": "Hitri vodnik za podprte vzorce",
|
||||
"Random": "Naključno",
|
||||
"Receive Encrypted": "Prejmi šifrirano",
|
||||
@@ -437,7 +437,7 @@
|
||||
"Time the item was last modified": "Čas, ko je bil element nazadnje spremenjen",
|
||||
"To connect with the Syncthing device named \"{%devicename%}\", add a new remote device on your end with this ID:": "To connect with the Syncthing device named \"{{devicename}}\", add a new remote device on your end with this ID:",
|
||||
"Today": "Danes",
|
||||
"Trash Can": "Trash Can",
|
||||
"Trash Can": "Koš",
|
||||
"Trash Can File Versioning": "Beleženje različic datotek s Smetnjakom",
|
||||
"Twitter": "Twitter",
|
||||
"Type": "Vrsta",
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "dnevi",
|
||||
"deleted": "izbrisano",
|
||||
"directories": "mape",
|
||||
"file": "datoteka",
|
||||
"files": "datoteke",
|
||||
"folder": "mapa",
|
||||
"full documentation": "celotna dokumentacija",
|
||||
"items": "predmeti",
|
||||
"modified": "spremenjeno",
|
||||
"seconds": "sekunde",
|
||||
"theme-name-black": "Črna",
|
||||
"theme-name-dark": "Temno",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Din SMS-app bör öppnas så att du kan välja mottagare och skicka den från ditt eget nummer.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Din e-postapp bör öppnas så att du kan välja mottagare och skicka den från din egen adress.",
|
||||
"days": "dagar",
|
||||
"deleted": "borttagen",
|
||||
"directories": "mappar",
|
||||
"file": "fil",
|
||||
"files": "filer",
|
||||
"folder": "mapp",
|
||||
"full documentation": "fullständig dokumentation",
|
||||
"items": "objekt",
|
||||
"modified": "ändrad",
|
||||
"seconds": "sekunder",
|
||||
"theme-name-black": "Svart",
|
||||
"theme-name-dark": "Mörkt",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Alıcıyı seçmenize ve kendi numaranızdan göndermenize izin vermek için SMS uygulamanız açılmalıdır.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Alıcıyı seçmenize ve kendi adresinizden göndermenize izin vermek için e-posta uygulamanız açılmalıdır.",
|
||||
"days": "gün",
|
||||
"deleted": "silindi",
|
||||
"directories": "dizin",
|
||||
"file": "dosya",
|
||||
"files": "dosya",
|
||||
"folder": "klasör",
|
||||
"full documentation": "tam belgelendirme",
|
||||
"items": "öğe",
|
||||
"modified": "değiştirildi",
|
||||
"seconds": "saniye",
|
||||
"theme-name-black": "Siyah",
|
||||
"theme-name-dark": "Koyu",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Ваш додаток для SMS має відкритися, щоб ви могли вибрати одержувача та надіслати його зі свого номера.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Ваш додаток електронної пошти має відкритися, щоб ви могли вибрати одержувача та надіслати його зі своєї власної адреси.",
|
||||
"days": "днів",
|
||||
"deleted": "deleted",
|
||||
"directories": "директорії",
|
||||
"file": "file",
|
||||
"files": "файли",
|
||||
"folder": "folder",
|
||||
"full documentation": "повна документація",
|
||||
"items": "елементи",
|
||||
"modified": "modified",
|
||||
"seconds": "секунд",
|
||||
"theme-name-black": "Чорна",
|
||||
"theme-name-dark": "Темна",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "天",
|
||||
"deleted": "deleted",
|
||||
"directories": "目录",
|
||||
"file": "file",
|
||||
"files": "文件",
|
||||
"folder": "folder",
|
||||
"full documentation": "完整文档",
|
||||
"items": "条目",
|
||||
"modified": "modified",
|
||||
"seconds": "秒",
|
||||
"theme-name-black": "黑色",
|
||||
"theme-name-dark": "深色",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "您的 SMS 應用程序應該打開,讓您選擇收件人並從您自己的電話號碼發送。",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "您的電子郵件應用程序應該打開,讓您選擇收件人並從您自己的地址發送。",
|
||||
"days": "天",
|
||||
"deleted": "deleted",
|
||||
"directories": "目錄",
|
||||
"file": "file",
|
||||
"files": "文件",
|
||||
"folder": "folder",
|
||||
"full documentation": "完整文檔",
|
||||
"items": "條目",
|
||||
"modified": "modified",
|
||||
"seconds": "秒",
|
||||
"theme-name-black": "theme-name-black",
|
||||
"theme-name-dark": "theme-name-dark",
|
||||
|
||||
@@ -499,10 +499,14 @@
|
||||
"Your SMS app should open to let you choose the recipient and send it from your own number.": "Your SMS app should open to let you choose the recipient and send it from your own number.",
|
||||
"Your email app should open to let you choose the recipient and send it from your own address.": "Your email app should open to let you choose the recipient and send it from your own address.",
|
||||
"days": "日",
|
||||
"deleted": "deleted",
|
||||
"directories": "目錄",
|
||||
"file": "file",
|
||||
"files": "個檔案",
|
||||
"folder": "folder",
|
||||
"full documentation": "完整說明文件",
|
||||
"items": "個項目",
|
||||
"modified": "modified",
|
||||
"seconds": "秒",
|
||||
"theme-name-black": "黑色",
|
||||
"theme-name-dark": "深色",
|
||||
|
||||
@@ -17,8 +17,16 @@
|
||||
<tr ng-repeat="changeEvent in globalChangeEvents">
|
||||
<td ng-if="changeEvent.data.modifiedBy">{{friendlyNameFromShort(changeEvent.data.modifiedBy)}}</td>
|
||||
<td ng-if="!changeEvent.data.modifiedBy"><span translate>Unknown</span></td>
|
||||
<td>{{changeEvent.data.action}}</td>
|
||||
<td>{{changeEvent.data.type}}</td>
|
||||
<td ng-switch="changeEvent.data.action">
|
||||
<span ng-switch-when="modified" translate>modified</span>
|
||||
<span ng-switch-when="deleted" translate>deleted</span>
|
||||
<span ng-switch-default>{{changeEvent.data.action}}</span>
|
||||
</td>
|
||||
<td ng-switch="changeEvent.data.type">
|
||||
<span ng-switch-when="file" translate>file</span>
|
||||
<span ng-switch-when="folder" translate>folder</span>
|
||||
<span ng-switch-default>{{changeEvent.data.type}}</span>
|
||||
</td>
|
||||
<td class="no-overflow-ellipse">{{folderLabel(changeEvent.data.folder)}}</td>
|
||||
<td class="file-path no-overflow-ellipse">{{changeEvent.data.path}}</td>
|
||||
<td class="no-overflow-ellipse">{{changeEvent.time | date:"yyyy-MM-dd HH:mm:ss"}}</td>
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "STDISCOSRV" "1" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "STDISCOSRV" "1" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
stdiscosrv \- Syncthing Discovery Server
|
||||
.SH SYNOPSIS
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "STRELAYSRV" "1" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "STRELAYSRV" "1" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
strelaysrv \- Syncthing Relay Server
|
||||
.SH SYNOPSIS
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-BEP" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-BEP" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-bep \- Block Exchange Protocol v1
|
||||
.SH INTRODUCTION AND DEFINITIONS
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-CONFIG" "5" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-CONFIG" "5" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-config \- Syncthing Configuration
|
||||
.SH SYNOPSIS
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-DEVICE-IDS" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-DEVICE-IDS" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-device-ids \- Understanding Device IDs
|
||||
.sp
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-EVENT-API" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-EVENT-API" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-event-api \- Event API
|
||||
.SH DESCRIPTION
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-FAQ" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-FAQ" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-faq \- Frequently Asked Questions
|
||||
.INDENT 0.0
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-GLOBALDISCO" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-GLOBALDISCO" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-globaldisco \- Global Discovery Protocol v3
|
||||
.SH ANNOUNCEMENTS
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-LOCALDISCO" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-LOCALDISCO" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-localdisco \- Local Discovery Protocol v4
|
||||
.SH MODE OF OPERATION
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-NETWORKING" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-NETWORKING" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-networking \- Firewall Setup
|
||||
.SH ROUTER SETUP
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-RELAY" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-RELAY" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-relay \- Relay Protocol v1
|
||||
.SH WHAT IS A RELAY?
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-REST-API" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-REST-API" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-rest-api \- REST API
|
||||
.sp
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-SECURITY" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-SECURITY" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-security \- Security Principles
|
||||
.sp
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-STIGNORE" "5" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-STIGNORE" "5" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-stignore \- Prevent files from being synchronized to other nodes
|
||||
.SH SYNOPSIS
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING-VERSIONING" "7" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING-VERSIONING" "7" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-versioning \- Keep automatic backups of deleted files by other nodes
|
||||
.sp
|
||||
|
||||
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "SYNCTHING" "1" "Dec 29, 2022" "v1.22.2" "Syncthing"
|
||||
.TH "SYNCTHING" "1" "Jan 13, 2023" "v1.23.0" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing \- Syncthing
|
||||
.SH SYNOPSIS
|
||||
|
||||
174
script/weblatedl.go
Normal file
174
script/weblatedl.go
Normal file
@@ -0,0 +1,174 @@
|
||||
// Copyright (C) 2022 The Syncthing Authors.
|
||||
//
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
// You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
"regexp"
|
||||
"sort"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type stat struct {
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
Total int `json:"total"`
|
||||
Translated int `json:"translated"`
|
||||
Fuzzy int `json:"fuzzy"`
|
||||
}
|
||||
|
||||
type translation map[string]string
|
||||
|
||||
func main() {
|
||||
log.SetFlags(log.Lshortfile)
|
||||
|
||||
token := os.Getenv("WEBLATE_TOKEN")
|
||||
if token == "" {
|
||||
log.Fatal("Need environment variable WEBLATE_TOKEN")
|
||||
}
|
||||
|
||||
curValidLangs := make(map[string]struct{})
|
||||
for _, lang := range loadValidLangs() {
|
||||
curValidLangs[lang] = struct{}{}
|
||||
}
|
||||
log.Println(curValidLangs)
|
||||
|
||||
resp := req("https://hosted.weblate.org/exports/stats/syncthing/gui/?format=json", token)
|
||||
|
||||
var stats []stat
|
||||
err := json.NewDecoder(resp.Body).Decode(&stats)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
resp.Body.Close()
|
||||
|
||||
names := make(map[string]string)
|
||||
|
||||
var langs []string
|
||||
for _, stat := range stats {
|
||||
code := reformatLanguageCode(stat.Code)
|
||||
pct := 100 * stat.Translated / stat.Total
|
||||
if _, valid := curValidLangs[code]; pct < 75 || !valid && pct < 95 {
|
||||
log.Printf("Language %q too low completion ratio %d%%", code, pct)
|
||||
} else {
|
||||
langs = append(langs, code)
|
||||
names[code] = stat.Name
|
||||
}
|
||||
if code == "en" {
|
||||
continue
|
||||
}
|
||||
|
||||
log.Printf("Updating language %q", code)
|
||||
|
||||
resp := req("https://hosted.weblate.org/api/translations/syncthing/gui/"+stat.Code+"/file/", token)
|
||||
bs, err := io.ReadAll(resp.Body)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
resp.Body.Close()
|
||||
|
||||
var t translation
|
||||
if err := json.Unmarshal(bs, &t); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
fd, err := os.Create("lang-" + code + ".json")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fd.Write(bs)
|
||||
fd.Close()
|
||||
}
|
||||
|
||||
saveValidLangs(langs)
|
||||
saveLanguageNames(names)
|
||||
}
|
||||
|
||||
func reformatLanguageCode(origCode string) string {
|
||||
switch origCode {
|
||||
case "ko":
|
||||
return "ko-KR"
|
||||
case "nb_NO":
|
||||
return "nb"
|
||||
case "ro":
|
||||
return "ro-RO"
|
||||
case "zh_Hans":
|
||||
return "zh-CN"
|
||||
case "zh_Hant":
|
||||
return "zh-TW"
|
||||
case "zh_Hant_HK":
|
||||
return "zh-HK"
|
||||
default:
|
||||
return strings.Replace(origCode, "_", "-", 1)
|
||||
}
|
||||
}
|
||||
|
||||
func saveValidLangs(langs []string) {
|
||||
sort.Strings(langs)
|
||||
fd, err := os.Create("valid-langs.js")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fmt.Fprint(fd, "var validLangs = ")
|
||||
json.NewEncoder(fd).Encode(langs)
|
||||
fd.Close()
|
||||
}
|
||||
|
||||
func saveLanguageNames(names map[string]string) {
|
||||
fd, err := os.Create("prettyprint.js")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fmt.Fprint(fd, "var langPrettyprint = ")
|
||||
json.NewEncoder(fd).Encode(names)
|
||||
fd.Close()
|
||||
}
|
||||
|
||||
func req(url, token string) *http.Response {
|
||||
req, err := http.NewRequest("GET", url, nil)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
req.Header.Set("Authorization", "Token "+token)
|
||||
resp, err := http.DefaultClient.Do(req)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
return resp
|
||||
}
|
||||
|
||||
func loadValidLangs() []string {
|
||||
fd, err := os.Open("valid-langs.js")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
defer fd.Close()
|
||||
bs, err := io.ReadAll(fd)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
var langs []string
|
||||
exp := regexp.MustCompile(`\[([a-zA-Z@",-_]+)\]`)
|
||||
if matches := exp.FindSubmatch(bs); len(matches) == 2 {
|
||||
langs = strings.Split(string(matches[1]), ",")
|
||||
for i := range langs {
|
||||
// Remove quotes
|
||||
langs[i] = langs[i][1 : len(langs[i])-1]
|
||||
}
|
||||
}
|
||||
|
||||
return langs
|
||||
}
|
||||
Reference in New Issue
Block a user