-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from sbs20/staging
Czech, Italian + minor bug fix
- Loading branch information
Showing
9 changed files
with
205 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* eslint-env mocha */ | ||
const assert = require('assert'); | ||
const Config = require('../src/config'); | ||
const Context = require('../src/context'); | ||
|
||
describe('Context', () => { | ||
it('missing files', () => { | ||
const temp = Config.scanimage; | ||
Config.scanimage = '/x'; | ||
const context = new Context([]); | ||
assert.strictEqual(context.diagnostics.length, 2); | ||
assert.strictEqual(context.diagnostics[0].success, false); | ||
Config.scanimage = temp; | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"global": { | ||
"application-name": "scanservjs" | ||
}, | ||
|
||
"about": { | ||
"main": "scanservjs je jednoduché webové uživatelské rozhraní pro váš skener. Umožňuje vám sdílet jeden nebo více skenerů (s využitím SANE) bez ovladačů nebo komplikované instalace. Umí ukládat do TIF, JPG, PNG, PDF a TXT (využívá Tesseract OCR) s různými nastaveními komprese, vše je možné konfigurovat. Podporuje vícestránkové skenování a všechna zařízení kompatibilní se SANE.", | ||
"issue": "Ohlaste chybu nebo se podívejte na zdrojový kód:" | ||
}, | ||
|
||
"batch-dialog": { | ||
"btn-finish": "Dokončit", | ||
"btn-rescan": "Znovu oskenovat stránku", | ||
"btn-next": "Další" | ||
}, | ||
|
||
"files": { | ||
"filename": "Název souboru", | ||
"date": "Datum", | ||
"size": "Velikost", | ||
"message:deleted": "Odstraněno" | ||
}, | ||
|
||
"navigation": { | ||
"scan": "Skenování", | ||
"files": "Soubory", | ||
"settings": "Nastavení", | ||
"about": "Informace", | ||
"version": "Verze" | ||
}, | ||
|
||
"pipeline": { | ||
"high-quality": "Vysoká kvalita", | ||
"medium-quality": "Střední kvalita", | ||
"low-quality": "Nízká kvalita", | ||
"uncompressed": "Bez komprese", | ||
"lzw-compressed": "S kompresí LZW", | ||
"ocr": "OCR", | ||
"text-file": "Textový soubor" | ||
}, | ||
|
||
"scan": { | ||
"device": "Zařízení", | ||
"source": "Zdroj", | ||
"resolution": "Rozlišení", | ||
"mode": "Mód", | ||
"dynamic-lineart": "Dynamická perokresba", | ||
"dynamic-lineart:enabled": "Zapnuto", | ||
"dynamic-lineart:disabled": "Vypnuto", | ||
"batch": "Vícestránkový sken", | ||
"batch:none": "Vypnuto", | ||
"batch:manual": "Manuální (s výzvou)", | ||
"batch:auto": "Automatický (Podavač dokumentů)", | ||
"batch:auto-collate-standard": "Automatický (Kompletovat 1, 3... 4, 2)", | ||
"batch:auto-collate-reverse": "Automatický (Obrátit 1, 3... 2, 4)", | ||
"filters": "Filtry", | ||
"filters:auto-level": "Automatické zarovnání", | ||
"filters:threshold": "Prahová hodnota barev", | ||
"filters:blur": "Rozmazané", | ||
"format": "Formát", | ||
"btn-preview": "Načíst náhled", | ||
"btn-clear": "Vymazat", | ||
"btn-scan": "Skenovat", | ||
"btn-reset": "Resetovat", | ||
"top": "Nahoře", | ||
"left": "Vlevo", | ||
"width": "Šířka", | ||
"height": "Výška", | ||
"brightness": "Jas", | ||
"contrast": "Kontrast", | ||
"message:loading-devices": "Načítání zařízení...", | ||
"message:no-devices": "Nebyla nalezena žádná zařízení", | ||
"message:deleted-preview": "Odstranit náhled", | ||
"message:turn-documents": "Obrátit dokumenty", | ||
"message:preview-of-page": "Náhled stránky" | ||
}, | ||
|
||
"settings": { | ||
"title": "@:navigation.settings", | ||
"behaviour-ui": "Chování a uživatelské rozhraní", | ||
"locale": "Lokalizace", | ||
"locale:description": "Vyberte vaši lokalizaci", | ||
"theme": "Motiv", | ||
"theme:description": "Motiv. Pokud použijete systémový motiv a ten se změní, budete potřebovat přenačíst aplikaci.", | ||
"theme:system": "Podle systému", | ||
"theme:light": "Světlý", | ||
"theme:dark": "Tmavý" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"global": { | ||
"application-name": "scanservjs" | ||
}, | ||
|
||
"about": { | ||
"main": "scanservjs è una semplice interfaccia web per il tuo scanner. Permette di condividere uno o più scanner (usando SANE) in una rete, senza necessità di driver o installazioni complicate. Può salvare nei formati TIF, JPG, PNG, PDF e TXT (via Tesseract OCR) con vari livelli di compressione. Supporta la scansione multi-pagina e tutti i dispositivi compatibili con SANE.", | ||
"issue": "Segnala problemi o visualizza il codice sorgente:" | ||
}, | ||
|
||
"batch-dialog": { | ||
"btn-finish": "Finito", | ||
"btn-rescan": "Ripeti scansione", | ||
"btn-next": "Prossima pagina" | ||
}, | ||
|
||
"files": { | ||
"filename": "Nome file", | ||
"date": "Data", | ||
"size": "Dimensione", | ||
"message:deleted": "Eliminato" | ||
}, | ||
|
||
"navigation": { | ||
"scan": "Scansiona", | ||
"files": "File", | ||
"settings": "Impostazioni", | ||
"about": "Informazioni", | ||
"version": "Versione" | ||
}, | ||
|
||
"pipeline": { | ||
"high-quality": "Qualità alta", | ||
"medium-quality": "Qualità media", | ||
"low-quality": "Qualità bassa", | ||
"uncompressed": "Non compresso", | ||
"lzw-compressed": "Conpresso con LZW", | ||
"ocr": "OCR", | ||
"text-file": "File di testo" | ||
}, | ||
|
||
"scan": { | ||
"device": "Dispositivo", | ||
"source": "Sorgente", | ||
"resolution": "Risoluzione", | ||
"mode": "Modalità", | ||
"dynamic-lineart": "Lineart dinamico", | ||
"dynamic-lineart:enabled": "Abilitato", | ||
"dynamic-lineart:disabled": "Disabilitato", | ||
"batch": "Raggruppa", | ||
"batch:none": "No", | ||
"batch:manual": "Manuale (Con finestra guidata)", | ||
"batch:auto": "Automatico (Cassetto dei documenti)", | ||
"batch:auto-collate-standard": "Automatico (Fascicola 1, 3... 4, 2)", | ||
"batch:auto-collate-reverse": "Automatico (Inverso 1, 3... 2, 4)", | ||
"filters": "Filtri", | ||
"filters:auto-level": "Livello automatico", | ||
"filters:threshold": "Soglia", | ||
"filters:blur": "Sfocatura", | ||
"format": "Formato", | ||
"btn-preview": "Anteprima", | ||
"btn-clear": "Cancella", | ||
"btn-scan": "Scansiona", | ||
"btn-reset": "Ripristina", | ||
"top": "Sopra", | ||
"left": "Sinistra", | ||
"width": "Larghezza", | ||
"height": "Altezza", | ||
"brightness": "Luminosità", | ||
"contrast": "Contrasto", | ||
"message:loading-devices": "Caricamento dispositivi...", | ||
"message:no-devices": "Nessun dispositivo trovato", | ||
"message:deleted-preview": "Anteprima eliminata", | ||
"message:turn-documents": "Capovolgi i documenti", | ||
"message:preview-of-page": "Anteprima della pagina" | ||
}, | ||
|
||
"settings": { | ||
"title": "@:navigation.settings", | ||
"behaviour-ui": "Comportamento ed interfaccia", | ||
"locale": "Lingua", | ||
"locale:description": "Scegli la lingua", | ||
"theme": "Tema", | ||
"theme:description": "Tema. Se usi il tema Sistema e lo cambi, dovrai ricaricare l'app.", | ||
"theme:system": "Sistema", | ||
"theme:light": "Chiaro", | ||
"theme:dark": "Scuro" | ||
} | ||
} |