Procházet zdrojové kódy

Translation and docs update

Jakob Borg před 10 roky
rodič
revize
57a5d13c47

+ 1 - 1
gui/assets/lang/lang-en-GB.json

@@ -172,7 +172,7 @@
     "The path cannot be blank.": "The path cannot be blank.",
     "The rescan interval must be a non-negative number of seconds.": "The rescan interval must be a non-negative number of seconds.",
     "This is a major version upgrade.": "This is a major version upgrade.",
-    "Trash Can File Versioning": "Trash Can File Versioning",
+    "Trash Can File Versioning": "Rubbish Bin File Versioning",
     "Unknown": "Unknown",
     "Unshared": "Unshared",
     "Unused": "Unused",

+ 10 - 10
gui/assets/lang/lang-hu.json

@@ -1,9 +1,9 @@
 {
-    "A negative number of days doesn't make sense.": "A negative number of days doesn't make sense.",
+    "A negative number of days doesn't make sense.": "Negatív számú nap nincs értelmezve.",
     "A new major version may not be compatible with previous versions.": "Az új főverzió nem kompatibilis az előző főverzióval.",
     "API Key": "API kulcs",
     "About": "Névjegy",
-    "Actions": "Actions",
+    "Actions": "Tevékenységek",
     "Add": "Hozzáadás",
     "Add Device": "Eszköz hozzáadása",
     "Add Folder": "Mappa hozzáadása",
@@ -30,7 +30,7 @@
     "Copied from original": "Másolva az eredetiről",
     "Copyright © 2015 the following Contributors:": "Copyright © 2015 az alábbi Közreműködők",
     "Delete": "Törlés",
-    "Deleted": "Deleted",
+    "Deleted": "Törölve",
     "Device ID": "Eszköz azonosító",
     "Device Identification": "Eszköz azonosító",
     "Device Name": "Eszköz neve",
@@ -53,8 +53,8 @@
     "File Pull Order": "Fájl küldési sorrend",
     "File Versioning": "Fájl verziózás",
     "File permission bits are ignored when looking for changes. Use on FAT file systems.": "Fájl jogosultságok figyelmen kívül hagyása változások keresésekor. FAT fájlrendszereken használatakor.",
-    "Files are moved to .stversions folder when replaced or deleted by Syncthing.": "Files are moved to .stversions folder when replaced or deleted by Syncthing.",
-    "Files are moved to date stamped versions in a .stversions folder when replaced or deleted by Syncthing.": "Files are moved to date stamped versions in a .stversions folder when replaced or deleted by Syncthing.",
+    "Files are moved to .stversions folder when replaced or deleted by Syncthing.": "Ha a Syncthing áthelyezi vagy törli a fájlokat, akkor azok a .stversions mappába lesznek áthelyezve.",
+    "Files are moved to date stamped versions in a .stversions folder when replaced or deleted by Syncthing.": "Ha a Syncthing áthelyezi vagy törli a fájlokat, akkor azok a .stversions mappába lesznek áthelyezve, időbélyegzővel ellátva.",
     "Files are protected from changes made on other devices, but changes made on this device will be sent to the rest of the cluster.": "A fájlok védve vannak a más eszközökön történt változásokkal szemben, de az ezen az eszközön történt változások érvényesek lesznek a többire.",
     "Folder ID": "Mappa azonosító",
     "Folder Master": "Központi mappa",
@@ -81,7 +81,7 @@
     "Later": "Később",
     "Local Discovery": "Helyi felfedezés",
     "Local State": "Helyi állapot",
-    "Local State (Total)": "Local State (Total)",
+    "Local State (Total)": "Helyi állapot (Teljes)",
     "Major Upgrade": "Főverzió frissítés",
     "Maximum Age": "Maximális kor",
     "Metadata Only": "Csak metaadatok",
@@ -165,19 +165,19 @@
     "The following intervals are used: for the first hour a version is kept every 30 seconds, for the first day a version is kept every hour, for the first 30 days a version is kept every day, until the maximum age a version is kept every week.": "A következő intervallumokat használjuk: egy régi verziót őrzünk meg az első órában minden 30 másodpercben, az első nap minden órában, az első 30 napban minden nap, egészen addig amíg el nem érjük a maximálisan megtartható verziók számát minden héten.",
     "The maximum age must be a number and cannot be blank.": "A maximális kornak számnak kell lenni és nem lehet üres",
     "The maximum time to keep a version (in days, set to 0 to keep versions forever).": "A verziók megtartásának maximális ideje (napokban, ha 0-t adsz meg örökre megmaradnak).",
-    "The number of days must be a number and cannot be blank.": "The number of days must be a number and cannot be blank.",
-    "The number of days to keep files in the trash can. Zero means forever.": "The number of days to keep files in the trash can. Zero means forever.",
+    "The number of days must be a number and cannot be blank.": "A napok száma szám kell legyen és nem lehet üres.",
+    "The number of days to keep files in the trash can. Zero means forever.": "A napok száma ameddig a fájlok meg lesznek tartva a lomtárban. A 0 azt jelenti örökre.",
     "The number of old versions to keep, per file.": "A megtartott régi verziók száma, fájlonként.",
     "The number of versions must be a number and cannot be blank.": "A megtartott verziók száma nem lehet üres",
     "The path cannot be blank.": "Elérési út nem lehet üres.",
     "The rescan interval must be a non-negative number of seconds.": "Az átnézési intervallum nullánál nagyobb másodperc érték kell legyen",
     "This is a major version upgrade.": "Ez egy főverzió frissítés.",
-    "Trash Can File Versioning": "Trash Can File Versioning",
+    "Trash Can File Versioning": "Lomtár fájl verziózás",
     "Unknown": "Ismeretlen",
     "Unshared": "Nincs megosztva",
     "Unused": "Nincs használatban",
     "Up to Date": "Friss",
-    "Updated": "Updated",
+    "Updated": "Frissítve",
     "Upgrade": "Frissítés",
     "Upgrade To {%version%}": "Frissítés a {{version}} verzióra",
     "Upgrading": "Frissítés",

+ 2 - 2
gui/assets/lang/lang-pt-BR.json

@@ -97,8 +97,8 @@
     "OK": "OK",
     "Off": "Desligada",
     "Oldest First": "Mais antigo primeiro",
-    "Out Of Sync": "Não sincronizado",
-    "Out of Sync Items": "Itens não sincronizados",
+    "Out Of Sync": "Fora de sincronia",
+    "Out of Sync Items": "Itens fora de sincronia",
     "Outgoing Rate Limit (KiB/s)": "Limite de velocidade de envio (KiB/s)",
     "Override Changes": "Sobrescrever mudanças",
     "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": "Caminho para a pasta na máquina local. Será criado caso não exista. O caractere til (~) pode ser usado como um atalho para",

+ 3 - 3
gui/assets/lang/lang-pt-PT.json

@@ -20,7 +20,7 @@
     "Bugs": "Erros",
     "CPU Utilization": "Utilização da CPU",
     "Changelog": "Registo de alterações",
-    "Clean out after": "Limpar e arrumar após a acção",
+    "Clean out after": "Esvaziar ao fim de",
     "Close": "Fechar",
     "Command": "Comando",
     "Comment, when used at the start of a line": "Comentário, quando usado no início de uma linha",
@@ -95,7 +95,7 @@
     "No File Versioning": "Nenhuma",
     "Notice": "Avisos",
     "OK": "OK",
-    "Off": "Desligado",
+    "Off": "Desligada",
     "Oldest First": "Primeiro os mais antigos",
     "Out Of Sync": "Não sincronizado",
     "Out of Sync Items": "Itens por sincronizar",
@@ -164,7 +164,7 @@
     "The folder path cannot be blank.": "O caminho da pasta não pode estar vazio.",
     "The following intervals are used: for the first hour a version is kept every 30 seconds, for the first day a version is kept every hour, for the first 30 days a version is kept every day, until the maximum age a version is kept every week.": "São utilizados os seguintes intervalos: na primeira hora é guardada uma versão a cada 30 segundos, no primeiro dia é guardada uma versão a cada hora, nos primeiros 30 dias é guardada uma versão por dia e, até que atinja a idade máxima, é guardada uma versão por semana.",
     "The maximum age must be a number and cannot be blank.": "A idade máxima tem que ser um número e não pode estar vazia.",
-    "The maximum time to keep a version (in days, set to 0 to keep versions forever).": "Tempo máximo para manter uma versão (em dias, use 0 para manter a versão para sempre).",
+    "The maximum time to keep a version (in days, set to 0 to keep versions forever).": "Tempo máximo, em dias, para manter uma versão (use 0 para manter a versão para sempre).",
     "The number of days must be a number and cannot be blank.": "O número de dias tem que ser um número e não pode estar em branco.",
     "The number of days to keep files in the trash can. Zero means forever.": "O número de dias a manter os ficheiros na reciclagem. Zero significa para sempre.",
     "The number of old versions to keep, per file.": "O número de versões antigas a manter, por ficheiro.",

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 1 - 1
internal/auto/gui.files.go


+ 28 - 10
man/syncthing-config.5

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING-CONFIG" "5" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING-CONFIG" "5" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing-config \- Syncthing Configuration
 .
@@ -135,7 +135,8 @@ This is the root element.
 .INDENT 0.0
 .TP
 .B version
-The config version. Increments whenever a change is made that requires migration from previous formats.
+The config version. Increments whenever a change is made that requires
+migration from previous formats.
 .UNINDENT
 .SH FOLDER ELEMENT
 .INDENT 0.0
@@ -210,11 +211,13 @@ advanced users only; do not change unless requested to or you\(aqve actually
 read and understood the code yourself. :)
 .TP
 .B order
-The order in which needed files should be pulled from the cluster. The possibles values are:
+The order in which needed files should be pulled from the cluster.
+The possibles values are:
 .INDENT 7.0
 .TP
 .B random
-Pull files in random order. This optimizes for balancing resources among the devices in a cluster.
+Pull files in random order. This optimizes for balancing resources among
+the devices in a cluster.
 .TP
 .B alphabetic
 Pull files ordered by file name alphabetically.
@@ -223,7 +226,8 @@ Pull files ordered by file name alphabetically.
 Pull files ordered by file size; smallest and largest first respectively.
 .TP
 .B oldestFirst, newestFirst
-Pull files ordered by modification time; oldest and newest first respectively.
+Pull files ordered by modification time; oldest and newest first
+respectively.
 .UNINDENT
 .UNINDENT
 .SH DEVICE ELEMENT
@@ -292,10 +296,12 @@ The address and port is used as given.
 The default port (22000) is used.
 .TP
 .B IPv6 address and port (\fB[2001:db8::23:42]:12345\fP)
-The address and port is used as given. The address must be enclosed in angled brackets.
+The address and port is used as given. The address must be enclosed in
+angled brackets.
 .TP
 .B \fBdynamic\fP
-The word \fBdynamic\fP means to use local and global discovery to find the device.
+The word \fBdynamic\fP means to use local and global discovery to find the
+device.
 .UNINDENT
 .SH GUI ELEMENT
 .INDENT 0.0
@@ -338,10 +344,12 @@ Allowed address formats are:
 The address and port is used as given.
 .TP
 .B IPv6 address and port (\fB[::1]:8384\fP)
-The address and port is used as given. The address must be enclosed in angled brackets.
+The address and port is used as given. The address must be enclosed in
+angled brackets.
 .TP
 .B Wildcard and port (\fB0.0.0.0:12345\fP, \fB[::]:12345\fP, \fB:12345\fP)
-These are equivalent and will result in Syncthing listening on all interfaces and both IPv4 and IPv6.
+These are equivalent and will result in Syncthing listening on all
+interfaces and both IPv4 and IPv6.
 .UNINDENT
 .TP
 .B username
@@ -385,6 +393,8 @@ If set, this is the API key that enables usage of the REST interface.
     <symlinksEnabled>true</symlinksEnabled>
     <limitBandwidthInLan>false</limitBandwidthInLan>
     <databaseBlockCacheMiB>0</databaseBlockCacheMiB>
+    <pingTimeoutS>60</pingTimeoutS>
+    <pingIdleTimeS>120</pingIdleTimeS>
 </options>
 .ft P
 .fi
@@ -431,7 +441,8 @@ unconnected devices.
 Whether to attempt to start a browser to show the GUI when Syncthing starts.
 .TP
 .B upnpEnabled
-Whether to attempt to perform an UPnP port mapping for incoming sync connections.
+Whether to attempt to perform an UPnP port mapping for incoming sync
+connections.
 .TP
 .B upnpLeaseMinutes
 Request a lease for this many minutes; zero to request a permanent lease.
@@ -488,6 +499,13 @@ as the local device.
 Override the automatically calculated database block cache size. Don\(aqt,
 unless you\(aqre very short on memory, in which case you want to set this to
 \fB8\fP\&.
+.TP
+.B pingTimeoutS
+Ping\-timeout in seconds. Don\(aqt change it unless you are having issues due to
+slow response time (slow connection/cpu) and large index exchanges
+.TP
+.B pingIdleTimeS
+ping interval in seconds. Don\(aqt change it unless you feel it\(aqs necessary.
 .UNINDENT
 .SH AUTHOR
 The Syncthing Authors

+ 1 - 1
man/syncthing-device-ids.7

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING-DEVICE-IDS" "7" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING-DEVICE-IDS" "7" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing-device-ids \- Understanding Device IDs
 .

+ 41 - 1
man/syncthing-event-api.7

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING-EVENT-API" "7" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING-EVENT-API" "7" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing-event-api \- Event API
 .
@@ -334,6 +334,46 @@ device.
 .fi
 .UNINDENT
 .UNINDENT
+.SS FolderErrors
+.sp
+The \fBFolderErrors\fP event is emitted when a folder cannot be successfully
+synchronized. The event contains the ID of the affected folder and a list of
+errors for files or directories therein. This list of errors is obsolete once
+the folder changes state to \fBsyncing\fP \- if errors remain after the next
+synchronization attempt, a new \fBFolderErrors\fP event is emitted.
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+{
+    "id": 132,
+    "type": "FolderErrors",
+    "time": "2015\-06\-26T13:39:24.697401384+02:00",
+    "data": {
+        "errors": [
+            {
+                "error": "open /Users/jb/src/github.com/syncthing/syncthing/test/s2/h2j/.syncthing.aslkjd.tmp: permission denied",
+                "path": "h2j/aslkjd"
+            }
+        ],
+        "folder": "default"
+    }
+}
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+New in version 0.11.12.
+
+.sp
+\fBSEE ALSO:\fP
+.INDENT 0.0
+.INDENT 3.5
+The statechanged event.
+.UNINDENT
+.UNINDENT
 .SS FolderRejected
 .sp
 Emitted when a device sends index information for a folder we do not

+ 1 - 1
man/syncthing-faq.7

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING-FAQ" "7" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING-FAQ" "7" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing-faq \- Frequently Asked Questions
 .

+ 1 - 1
man/syncthing-networking.7

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING-NETWORKING" "7" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING-NETWORKING" "7" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing-networking \- Firewall Setup
 .

+ 1 - 1
man/syncthing-rest-api.7

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING-REST-API" "7" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING-REST-API" "7" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing-rest-api \- REST API
 .

+ 1 - 1
man/syncthing-security.7

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING-SECURITY" "7" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING-SECURITY" "7" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing-security \- Security Principles
 .

+ 1 - 1
man/syncthing-stignore.5

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING-STIGNORE" "5" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING-STIGNORE" "5" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing-stignore \- Prevent files from being synchronized to other nodes
 .

+ 1 - 1
man/syncthing-versioning.7

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "TODO" "7" "June 28, 2015" "v0.11" "Syncthing"
+.TH "TODO" "7" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 Todo \- Keep automatic backups of deleted files by other nodes
 .

+ 5 - 4
man/syncthing.1

@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "SYNCTHING" "1" "June 28, 2015" "v0.11" "Syncthing"
+.TH "SYNCTHING" "1" "July 01, 2015" "v0.11" "Syncthing"
 .SH NAME
 syncthing \- Syncthing
 .
@@ -233,21 +233,22 @@ HTTP access.
 Write a CPU profile to cpu\-$pid.pprof on exit.
 .TP
 .B STHEAPPROFILE
-Write heap profiles to heap\-$pid\-$timestamp.pprof each time heap usage
+Write heap profiles to \fBheap\-$pid\-$timestamp.pprof\fP each time heap usage
 increases.
 .TP
 .B STBLOCKPROFILE
 Write block profiles to \fBblock\-$pid\-$timestamp.pprof\fP every 20 seconds.
 .TP
 .B STPERFSTATS
-Write running performance statistics to perf\-$pid.csv. Not supported on
+Write running performance statistics to \fBperf\-$pid.csv\fP\&. Not supported on
 Windows.
 .TP
 .B STNOUPGRADE
 Disable automatic upgrades.
 .TP
 .B GOMAXPROCS
-Set the maximum number of CPU cores to use. Defaults to all available CPU cores.
+Set the maximum number of CPU cores to use. Defaults to all available CPU
+cores.
 .TP
 .B GOGC
 Percentage of heap growth at which to trigger GC. Default is 100. Lower

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů