Allow Build language to not be set at all
This commit is contained in:
+67
-61
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS><TS version="2.0" language="nb_NO" sourcelanguage="en_GB">
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="nb_NO" sourcelanguage="en_GB">
|
||||
<context>
|
||||
<name>Common</name>
|
||||
<message>
|
||||
@@ -477,305 +478,310 @@
|
||||
<translation>La feltet stå tomt for å hoppe over overskriften, eller sett til en statisk tekst, slik som for eksempel '{0}', for å lage en separator. Separatoren vil bli sentrert automatisk, og bare satt inn mellom scener av samme type.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="188"/>
|
||||
<location filename="../nw/gui/build.py" line="189"/>
|
||||
<source>Title</source>
|
||||
<translation>Tittel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="189"/>
|
||||
<location filename="../nw/gui/build.py" line="190"/>
|
||||
<source>Chapter</source>
|
||||
<translation>Kapittel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="190"/>
|
||||
<location filename="../nw/gui/build.py" line="191"/>
|
||||
<source>Unnumbered</source>
|
||||
<translation>Unumrert</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="191"/>
|
||||
<location filename="../nw/gui/build.py" line="192"/>
|
||||
<source>Scene</source>
|
||||
<translation>Scene</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="192"/>
|
||||
<location filename="../nw/gui/build.py" line="193"/>
|
||||
<source>Section</source>
|
||||
<translation>Seksjon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="214"/>
|
||||
<location filename="../nw/gui/build.py" line="215"/>
|
||||
<source>Font Options</source>
|
||||
<translation>Skriftvalg</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="252"/>
|
||||
<location filename="../nw/gui/build.py" line="253"/>
|
||||
<source>Font family</source>
|
||||
<translation>Skriftfamilie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="253"/>
|
||||
<location filename="../nw/gui/build.py" line="254"/>
|
||||
<source>Font size</source>
|
||||
<translation>Skriftstørrelse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="254"/>
|
||||
<location filename="../nw/gui/build.py" line="255"/>
|
||||
<source>Line height</source>
|
||||
<translation>Linjehøyde</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="255"/>
|
||||
<location filename="../nw/gui/build.py" line="256"/>
|
||||
<source>Justify text</source>
|
||||
<translation>Rette marger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="256"/>
|
||||
<location filename="../nw/gui/build.py" line="257"/>
|
||||
<source>Disable styling</source>
|
||||
<translation>Slå av styling</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="298"/>
|
||||
<location filename="../nw/gui/build.py" line="299"/>
|
||||
<source>Include Options</source>
|
||||
<translation>Inkluderinger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="322"/>
|
||||
<location filename="../nw/gui/build.py" line="323"/>
|
||||
<source>Include synopsis</source>
|
||||
<translation>Inkluder sammendrag</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="323"/>
|
||||
<location filename="../nw/gui/build.py" line="324"/>
|
||||
<source>Include comments</source>
|
||||
<translation>Inkluder kommentarer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="324"/>
|
||||
<location filename="../nw/gui/build.py" line="325"/>
|
||||
<source>Include keywords</source>
|
||||
<translation>Inkluder kodeord</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="325"/>
|
||||
<location filename="../nw/gui/build.py" line="326"/>
|
||||
<source>Include body text</source>
|
||||
<translation>Inkluder tekst</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="342"/>
|
||||
<location filename="../nw/gui/build.py" line="343"/>
|
||||
<source>File Filter Options</source>
|
||||
<translation>Fil-filtre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="347"/>
|
||||
<location filename="../nw/gui/build.py" line="348"/>
|
||||
<source>Include files with layouts other than 'Note'.</source>
|
||||
<translation>Inkluder filer som ikke er notater.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="353"/>
|
||||
<location filename="../nw/gui/build.py" line="354"/>
|
||||
<source>Include files with layout 'Note'.</source>
|
||||
<translation>Inkluder filer som er notater.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="359"/>
|
||||
<location filename="../nw/gui/build.py" line="360"/>
|
||||
<source>Ignore the 'Include when building project' setting and include all files in the output.</source>
|
||||
<translation>Ignorer 'ta med ved eksport'-instilling og ta med alle filer i resultatet.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="367"/>
|
||||
<location filename="../nw/gui/build.py" line="368"/>
|
||||
<source>Include novel files</source>
|
||||
<translation>Inkluder romanfiler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="368"/>
|
||||
<location filename="../nw/gui/build.py" line="369"/>
|
||||
<source>Include note files</source>
|
||||
<translation>Inkluder notatfiler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="369"/>
|
||||
<location filename="../nw/gui/build.py" line="370"/>
|
||||
<source>Ignore export flag</source>
|
||||
<translation>Ignorer 'ta med'-flagg</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="384"/>
|
||||
<location filename="../nw/gui/build.py" line="385"/>
|
||||
<source>Export Options</source>
|
||||
<translation>Eksportvalg</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="398"/>
|
||||
<location filename="../nw/gui/build.py" line="399"/>
|
||||
<source>Replace tabs with spaces</source>
|
||||
<translation>Erstatt tab med mellomrom</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="399"/>
|
||||
<location filename="../nw/gui/build.py" line="400"/>
|
||||
<source>Replace Unicode in HTML</source>
|
||||
<translation>Erstatt Unicode med HTML</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="414"/>
|
||||
<location filename="../nw/gui/build.py" line="415"/>
|
||||
<source>Build Preview</source>
|
||||
<translation>Lag forhåndsvisning</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="425"/>
|
||||
<location filename="../nw/gui/build.py" line="426"/>
|
||||
<source>Print</source>
|
||||
<translation>Skriv ut</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="428"/>
|
||||
<location filename="../nw/gui/build.py" line="429"/>
|
||||
<source>Print Preview</source>
|
||||
<translation>Forhåndsvisning av utskrift</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="432"/>
|
||||
<location filename="../nw/gui/build.py" line="433"/>
|
||||
<source>Print to PDF</source>
|
||||
<translation>Skriv ut til PDF</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="439"/>
|
||||
<location filename="../nw/gui/build.py" line="440"/>
|
||||
<source>Save As</source>
|
||||
<translation>Lagre som</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="442"/>
|
||||
<location filename="../nw/gui/build.py" line="443"/>
|
||||
<source>Open Document (.odt)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="446"/>
|
||||
<location filename="../nw/gui/build.py" line="447"/>
|
||||
<source>Flat Open Document (.fodt)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="450"/>
|
||||
<location filename="../nw/gui/build.py" line="451"/>
|
||||
<source>novelWriter HTML (.htm)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="454"/>
|
||||
<location filename="../nw/gui/build.py" line="455"/>
|
||||
<source>novelWriter Markdown (.nwd)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="458"/>
|
||||
<location filename="../nw/gui/build.py" line="459"/>
|
||||
<source>Standard Markdown (.md)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="462"/>
|
||||
<location filename="../nw/gui/build.py" line="463"/>
|
||||
<source>GitHub Markdown (.md)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="466"/>
|
||||
<location filename="../nw/gui/build.py" line="467"/>
|
||||
<source>JSON + novelWriter HTML (.json)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="470"/>
|
||||
<location filename="../nw/gui/build.py" line="471"/>
|
||||
<source>JSON + novelWriters Markdown (.json)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="474"/>
|
||||
<location filename="../nw/gui/build.py" line="475"/>
|
||||
<source>Close</source>
|
||||
<translation>Lukk</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="578"/>
|
||||
<location filename="../nw/gui/build.py" line="579"/>
|
||||
<source>Failed to generate preview. The result is too big.</source>
|
||||
<translation>Kunne ikke generere forhåndsvisning. Resultatet er for stort til å vise.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="751"/>
|
||||
<location filename="../nw/gui/build.py" line="752"/>
|
||||
<source>There were problems when building the project</source>
|
||||
<translation>Det har oppstått en feil under byggingen av prosjektet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="811"/>
|
||||
<location filename="../nw/gui/build.py" line="812"/>
|
||||
<source>Open Document</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="815"/>
|
||||
<location filename="../nw/gui/build.py" line="816"/>
|
||||
<source>Flat Open Document</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="819"/>
|
||||
<location filename="../nw/gui/build.py" line="820"/>
|
||||
<source>Plain HTML</source>
|
||||
<translation>Enkel HTML</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="823"/>
|
||||
<location filename="../nw/gui/build.py" line="824"/>
|
||||
<source>novelWriter Markdown</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="827"/>
|
||||
<location filename="../nw/gui/build.py" line="828"/>
|
||||
<source>Standard Markdown</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="831"/>
|
||||
<location filename="../nw/gui/build.py" line="832"/>
|
||||
<source>GitHub Markdown</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="835"/>
|
||||
<location filename="../nw/gui/build.py" line="836"/>
|
||||
<source>JSON + novelWriter HTML</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="839"/>
|
||||
<location filename="../nw/gui/build.py" line="840"/>
|
||||
<source>JSON + novelWriter Markdown</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="843"/>
|
||||
<location filename="../nw/gui/build.py" line="844"/>
|
||||
<source>PDF</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="862"/>
|
||||
<location filename="../nw/gui/build.py" line="863"/>
|
||||
<source>Save Document As</source>
|
||||
<translation>Lagre dokumentet som</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1000"/>
|
||||
<location filename="../nw/gui/build.py" line="1001"/>
|
||||
<source>Unknown format</source>
|
||||
<translation>Ukjent format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1004"/>
|
||||
<location filename="../nw/gui/build.py" line="1005"/>
|
||||
<source>{0} file successfully written to:</source>
|
||||
<translation>Lagring av {0} var vellykket, og filen ble skrevet til:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1011"/>
|
||||
<location filename="../nw/gui/build.py" line="1012"/>
|
||||
<source>Failed to write {0} file. {1}</source>
|
||||
<translation>Misslykkes i å skrive {0} til. {1}</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="273"/>
|
||||
<location filename="../nw/gui/build.py" line="274"/>
|
||||
<source>Styling Options</source>
|
||||
<translation>Styling</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="193"/>
|
||||
<location filename="../nw/gui/build.py" line="194"/>
|
||||
<source>Language</source>
|
||||
<translation>Språk</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="169"/>
|
||||
<source>Not Set</source>
|
||||
<translation>Ikke satt</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GuiBuildNovelDocView</name>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1211"/>
|
||||
<location filename="../nw/gui/build.py" line="1212"/>
|
||||
<source>This area will show the content of the document to be exported or printed. Press the "Build Preview" button to generate content.</source>
|
||||
<translation>Dette området vil vise innholdet av dokumentet som skal eksporteres. Trykk på knappen merket med "Lag forhåndsvisning" for å oppdatere innholdet.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1360"/>
|
||||
<location filename="../nw/gui/build.py" line="1361"/>
|
||||
<source>Unknown</source>
|
||||
<translation>Ukjent</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1362"/>
|
||||
<location filename="../nw/gui/build.py" line="1363"/>
|
||||
<source><b>Build Time:</b> {0}</source>
|
||||
<translation><b>Generert den:</b> {0}</translation>
|
||||
</message>
|
||||
|
||||
+65
-60
@@ -422,47 +422,47 @@
|
||||
<context>
|
||||
<name>GuiBuildNovel</name>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="578"/>
|
||||
<location filename="../nw/gui/build.py" line="579"/>
|
||||
<source>Failed to generate preview. The result is too big.</source>
|
||||
<translation>A geração do rascunho falhou. O resultado é muito grande.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="442"/>
|
||||
<location filename="../nw/gui/build.py" line="443"/>
|
||||
<source>Open Document (.odt)</source>
|
||||
<translation>Open Document (.odt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="843"/>
|
||||
<location filename="../nw/gui/build.py" line="844"/>
|
||||
<source>PDF</source>
|
||||
<translation>PDF</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="819"/>
|
||||
<location filename="../nw/gui/build.py" line="820"/>
|
||||
<source>Plain HTML</source>
|
||||
<translation>HTML Simples</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1000"/>
|
||||
<location filename="../nw/gui/build.py" line="1001"/>
|
||||
<source>Unknown format</source>
|
||||
<translation>Formato desconhecido</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="450"/>
|
||||
<location filename="../nw/gui/build.py" line="451"/>
|
||||
<source>novelWriter HTML (.htm)</source>
|
||||
<translation>HTML do novelWriter (.htm)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="454"/>
|
||||
<location filename="../nw/gui/build.py" line="455"/>
|
||||
<source>novelWriter Markdown (.nwd)</source>
|
||||
<translation>Markdown do novelWriter (.nwd)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="835"/>
|
||||
<location filename="../nw/gui/build.py" line="836"/>
|
||||
<source>JSON + novelWriter HTML</source>
|
||||
<translation>JSON + HTML do novelWriter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="470"/>
|
||||
<location filename="../nw/gui/build.py" line="471"/>
|
||||
<source>JSON + novelWriters Markdown (.json)</source>
|
||||
<translation>JSON + Markdown do novelWriter (.json)</translation>
|
||||
</message>
|
||||
@@ -477,182 +477,182 @@
|
||||
<translation>Formatos de Título para Arquivos do Livro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="188"/>
|
||||
<location filename="../nw/gui/build.py" line="189"/>
|
||||
<source>Title</source>
|
||||
<translation>Título</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="189"/>
|
||||
<location filename="../nw/gui/build.py" line="190"/>
|
||||
<source>Chapter</source>
|
||||
<translation>Capítulo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="190"/>
|
||||
<location filename="../nw/gui/build.py" line="191"/>
|
||||
<source>Unnumbered</source>
|
||||
<translation>Sem Numeração</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="192"/>
|
||||
<location filename="../nw/gui/build.py" line="193"/>
|
||||
<source>Section</source>
|
||||
<translation>Seção</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="252"/>
|
||||
<location filename="../nw/gui/build.py" line="253"/>
|
||||
<source>Font family</source>
|
||||
<translation>Família da fonte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="253"/>
|
||||
<location filename="../nw/gui/build.py" line="254"/>
|
||||
<source>Font size</source>
|
||||
<translation>Tamanho da fonte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="255"/>
|
||||
<location filename="../nw/gui/build.py" line="256"/>
|
||||
<source>Justify text</source>
|
||||
<translation>Texto justificado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="256"/>
|
||||
<location filename="../nw/gui/build.py" line="257"/>
|
||||
<source>Disable styling</source>
|
||||
<translation>Desabilita a estilização</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="322"/>
|
||||
<location filename="../nw/gui/build.py" line="323"/>
|
||||
<source>Include synopsis</source>
|
||||
<translation>Inclui a sinopse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="323"/>
|
||||
<location filename="../nw/gui/build.py" line="324"/>
|
||||
<source>Include comments</source>
|
||||
<translation>Inclui comentários</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="324"/>
|
||||
<location filename="../nw/gui/build.py" line="325"/>
|
||||
<source>Include keywords</source>
|
||||
<translation>Inclui palavras-chave</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="325"/>
|
||||
<location filename="../nw/gui/build.py" line="326"/>
|
||||
<source>Include body text</source>
|
||||
<translation>Inclui o corpo do texto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="342"/>
|
||||
<location filename="../nw/gui/build.py" line="343"/>
|
||||
<source>File Filter Options</source>
|
||||
<translation>Opções de Filtro de Arquivos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="359"/>
|
||||
<location filename="../nw/gui/build.py" line="360"/>
|
||||
<source>Ignore the 'Include when building project' setting and include all files in the output.</source>
|
||||
<translation>Ignora a configuração 'Inclui quando estiver construindo o projeto' e inclui todos os arquivos no resultado.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="367"/>
|
||||
<location filename="../nw/gui/build.py" line="368"/>
|
||||
<source>Include novel files</source>
|
||||
<translation>Inclui arquivos do livro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="368"/>
|
||||
<location filename="../nw/gui/build.py" line="369"/>
|
||||
<source>Include note files</source>
|
||||
<translation>Inclui arquivos de notas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="369"/>
|
||||
<location filename="../nw/gui/build.py" line="370"/>
|
||||
<source>Ignore export flag</source>
|
||||
<translation>Ignora opção de exportação</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="384"/>
|
||||
<location filename="../nw/gui/build.py" line="385"/>
|
||||
<source>Export Options</source>
|
||||
<translation>Opções de Exportação</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="398"/>
|
||||
<location filename="../nw/gui/build.py" line="399"/>
|
||||
<source>Replace tabs with spaces</source>
|
||||
<translation>Substitui tabulações com espaços</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="425"/>
|
||||
<location filename="../nw/gui/build.py" line="426"/>
|
||||
<source>Print</source>
|
||||
<translation>Imprimir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="474"/>
|
||||
<location filename="../nw/gui/build.py" line="475"/>
|
||||
<source>Close</source>
|
||||
<translation>Fechar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="862"/>
|
||||
<location filename="../nw/gui/build.py" line="863"/>
|
||||
<source>Save Document As</source>
|
||||
<translation>Salvar Documento Como</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1004"/>
|
||||
<location filename="../nw/gui/build.py" line="1005"/>
|
||||
<source>{0} file successfully written to:</source>
|
||||
<translation>Arquivo {0} escrito com sucesso para:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1011"/>
|
||||
<location filename="../nw/gui/build.py" line="1012"/>
|
||||
<source>Failed to write {0} file. {1}</source>
|
||||
<translation>Falhou para escrever o arquivo {0}. {1}</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="414"/>
|
||||
<location filename="../nw/gui/build.py" line="415"/>
|
||||
<source>Build Preview</source>
|
||||
<translation>Construir Prévia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="428"/>
|
||||
<location filename="../nw/gui/build.py" line="429"/>
|
||||
<source>Print Preview</source>
|
||||
<translation>Imprimir Prévia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="432"/>
|
||||
<location filename="../nw/gui/build.py" line="433"/>
|
||||
<source>Print to PDF</source>
|
||||
<translation>Imprimir para PDF</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="446"/>
|
||||
<location filename="../nw/gui/build.py" line="447"/>
|
||||
<source>Flat Open Document (.fodt)</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="458"/>
|
||||
<location filename="../nw/gui/build.py" line="459"/>
|
||||
<source>Standard Markdown (.md)</source>
|
||||
<translation>Markdown Padrão (.md)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="462"/>
|
||||
<location filename="../nw/gui/build.py" line="463"/>
|
||||
<source>GitHub Markdown (.md)</source>
|
||||
<translation>Markdown do GitHub (.md)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="751"/>
|
||||
<location filename="../nw/gui/build.py" line="752"/>
|
||||
<source>There were problems when building the project</source>
|
||||
<translation>Houveram problemas ao construir o projeto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="191"/>
|
||||
<location filename="../nw/gui/build.py" line="192"/>
|
||||
<source>Scene</source>
|
||||
<translation>Cena</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="214"/>
|
||||
<location filename="../nw/gui/build.py" line="215"/>
|
||||
<source>Font Options</source>
|
||||
<translation>Opções de Fonte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="254"/>
|
||||
<location filename="../nw/gui/build.py" line="255"/>
|
||||
<source>Line height</source>
|
||||
<translation>Altura da linha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="298"/>
|
||||
<location filename="../nw/gui/build.py" line="299"/>
|
||||
<source>Include Options</source>
|
||||
<translation>Opções de Inclusão</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="399"/>
|
||||
<location filename="../nw/gui/build.py" line="400"/>
|
||||
<source>Replace Unicode in HTML</source>
|
||||
<translation>Substituir Unicode no HTML</translation>
|
||||
</message>
|
||||
@@ -697,12 +697,12 @@
|
||||
<translation>Deixe em branco para ignorar este cabeçalho ou defina um texto estático como {0}, por exemplo, para fazer um separador. O separador será centralizado automaticamente a aparecerá apenas entre seções do mesmo tipo.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="347"/>
|
||||
<location filename="../nw/gui/build.py" line="348"/>
|
||||
<source>Include files with layouts other than 'Note'.</source>
|
||||
<translation>Inclui arquivos com leiautes diferentes de 'Nota'.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="353"/>
|
||||
<location filename="../nw/gui/build.py" line="354"/>
|
||||
<source>Include files with layout 'Note'.</source>
|
||||
<translation>Inclui arquivos com leiaute 'Nota'.</translation>
|
||||
</message>
|
||||
@@ -712,70 +712,75 @@
|
||||
<translation>Códigos de Formatação:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="439"/>
|
||||
<location filename="../nw/gui/build.py" line="440"/>
|
||||
<source>Save As</source>
|
||||
<translation>Salvar Como</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="811"/>
|
||||
<location filename="../nw/gui/build.py" line="812"/>
|
||||
<source>Open Document</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="815"/>
|
||||
<location filename="../nw/gui/build.py" line="816"/>
|
||||
<source>Flat Open Document</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="823"/>
|
||||
<location filename="../nw/gui/build.py" line="824"/>
|
||||
<source>novelWriter Markdown</source>
|
||||
<translation>Markdown do novelWriter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="827"/>
|
||||
<location filename="../nw/gui/build.py" line="828"/>
|
||||
<source>Standard Markdown</source>
|
||||
<translation>Markdown Padrão</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="831"/>
|
||||
<location filename="../nw/gui/build.py" line="832"/>
|
||||
<source>GitHub Markdown</source>
|
||||
<translation>Markdown do GitHub</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="466"/>
|
||||
<location filename="../nw/gui/build.py" line="467"/>
|
||||
<source>JSON + novelWriter HTML (.json)</source>
|
||||
<translation>JSON + HTML do novelWriter (.json)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="839"/>
|
||||
<location filename="../nw/gui/build.py" line="840"/>
|
||||
<source>JSON + novelWriter Markdown</source>
|
||||
<translation>JSON + Markdown do novelWriter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="273"/>
|
||||
<location filename="../nw/gui/build.py" line="274"/>
|
||||
<source>Styling Options</source>
|
||||
<translation>Opções de Estilo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="193"/>
|
||||
<location filename="../nw/gui/build.py" line="194"/>
|
||||
<source>Language</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="169"/>
|
||||
<source>Not Set</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GuiBuildNovelDocView</name>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1360"/>
|
||||
<location filename="../nw/gui/build.py" line="1361"/>
|
||||
<source>Unknown</source>
|
||||
<translation>Desconhecido</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1211"/>
|
||||
<location filename="../nw/gui/build.py" line="1212"/>
|
||||
<source>This area will show the content of the document to be exported or printed. Press the "Build Preview" button to generate content.</source>
|
||||
<translation>Esta área vai mostrar o conteúdo do documento a ser exportado ou impresso. Clique no botão "Construir Prévia" para gerar o conteúdo.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../nw/gui/build.py" line="1362"/>
|
||||
<location filename="../nw/gui/build.py" line="1363"/>
|
||||
<source><b>Build Time:</b> {0}</source>
|
||||
<translation><b>Tempo de Construção:</b> {0}</translation>
|
||||
</message>
|
||||
|
||||
+8
-10
@@ -80,7 +80,7 @@ class NWProject():
|
||||
self.projContent = None # The full path to the project's content folder
|
||||
self.projDict = None # The spell check dictionary
|
||||
self.projSpell = None # The spell check language, if different than default
|
||||
self.projLang = None # The project language, if different than default
|
||||
self.projLang = None # The project language, used for builds
|
||||
self.projFile = None # The file name of the project main XML file
|
||||
|
||||
# Project Meta
|
||||
@@ -197,7 +197,7 @@ class NWProject():
|
||||
self.projContent = None
|
||||
self.projDict = None
|
||||
self.projSpell = None
|
||||
self.projLang = self.mainConf.guiLang
|
||||
self.projLang = None
|
||||
self.projFile = nwFiles.PROJ_FILE
|
||||
self.projName = ""
|
||||
self.bookTitle = ""
|
||||
@@ -1231,15 +1231,13 @@ class NWProject():
|
||||
def _loadProjectLocalisation(self):
|
||||
"""Load the language data for the current project language.
|
||||
"""
|
||||
theLang = self.projLang
|
||||
if theLang is None:
|
||||
theLang = self.mainConf.spellLanguage
|
||||
if theLang is None:
|
||||
theLang = "en"
|
||||
if self.projLang is None:
|
||||
self.langData = {}
|
||||
return False
|
||||
|
||||
lngShort = theLang.split("_")[0]
|
||||
lngShort = self.projLang.split("_")[0]
|
||||
loadFile = os.path.join(self.mainConf.nwLangPath, "project_en.json")
|
||||
chkFile1 = os.path.join(self.mainConf.nwLangPath, "project_%s.json" % theLang)
|
||||
chkFile1 = os.path.join(self.mainConf.nwLangPath, "project_%s.json" % self.projLang)
|
||||
chkFile2 = os.path.join(self.mainConf.nwLangPath, "project_%s.json" % lngShort)
|
||||
|
||||
if os.path.isfile(chkFile1):
|
||||
@@ -1253,7 +1251,7 @@ class NWProject():
|
||||
logger.debug("Loaded project language file: %s" % os.path.basename(loadFile))
|
||||
|
||||
except Exception:
|
||||
logger.error("Failed to load index file")
|
||||
logger.error("Failed to project language file")
|
||||
nw.logException()
|
||||
return False
|
||||
|
||||
|
||||
@@ -166,6 +166,7 @@ class GuiBuildNovel(QDialog):
|
||||
self.buildLang = QComboBox()
|
||||
self.buildLang.setMinimumWidth(xFmt)
|
||||
theLangs = self.mainConf.listLanguages(self.mainConf.LANG_PROJ)
|
||||
self.buildLang.addItem("[%s]" % self.tr("Not Set"), "None")
|
||||
for langID, langName in theLangs:
|
||||
self.buildLang.addItem(langName, langID)
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>False</doBackup>
|
||||
<language>en</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>None</language>
|
||||
<language>en</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>True</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>None</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</project>
|
||||
<settings>
|
||||
<doBackup>True</doBackup>
|
||||
<language>en_GB</language>
|
||||
<language>None</language>
|
||||
<spellCheck>False</spellCheck>
|
||||
<spellLang>en</spellLang>
|
||||
<autoOutline>True</autoOutline>
|
||||
|
||||
@@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
import nw
|
||||
import pytest
|
||||
|
||||
from lxml import etree
|
||||
|
||||
Reference in New Issue
Block a user