Commit c253d0c4 authored by André Simon's avatar André Simon

GUI: added file watcher for new script pane

parent 95c84a3b
......@@ -2,7 +2,7 @@ CHANGELOG Highlight
highlight 3.42
19.01.2018
20.01.2018
-fixed HL_OUTPUT in Lua state for HL_FORMAT_XHTML and HL_FORMAT_TRUECOLOR values
-fixed lib-shared make target
......@@ -12,12 +12,14 @@ highlight 3.42
-added reformatting style ratliff (replaces banner)
-added extras/langDefs-resources/cleanslate.lang (thanks to Tristano Ajmone)
-improved Perl6 compatibility
-improved PHP string interpolation
-improved Haskell definition (https://github.com/andre-simon/highlight/pull/52)
-CLI: added --canvas option to define background color padding in ANSI output
(https://github.com/andre-simon/highlight/issues/40)
-GUI: added French translation (thanks to Antoine Belvire)
-GUI: added Scripts tab (suggested by Tristano Ajmone)
-GUI: minor bugfixes
---
27.11.2017
......
This diff was suppressed by a .gitattributes entry.
......@@ -30,6 +30,7 @@ Keywords={
Strings = {
Delimiter=[['|"]],
RawPrefix="r",
Interpolation=[[\$\w+]],
Escape = [[ \\u\d{4}|\\x?\d{3}|\\\w|\\[\'\\\"] ]]
}
......
......@@ -23,7 +23,7 @@ Keywords={
List={"int", "integer", "real", "double", "float", "string", "array", "object", "bool", "mixed", "numeric"},
},
{ Id=3,
Regex=[[\$\w+]],
Regex=[[\$[\w\-"|'|\>]+|\$?\{.+?\}]],
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
......@@ -32,9 +32,9 @@ Keywords={
-- hereDoc opening delimiter, see OnStateChange to handle end of string
Strings={
Delimiter=[["|'|<<<'?\w+'?]],
--Interpolation=[[ \$[\w\[\]\->]+ ]],
Interpolation=[[ [@\$%]\w+ ]]
Delimiter=[["|'|<<<'?[\w_]+'?]],
Escape=[=[ \\\d{3}|\\u\d{4}|\\x[[:xdigit:]]{2}|\\[ntvbrfa\\\?'"\$] ]=],
--Interpolation = [[ \$\w+\[.+?\] ]]
}
IgnoreCase=true
......@@ -59,17 +59,21 @@ function OnStateChange(oldState, newState, token)
end
if (string.sub(token,1,1) =="$") and oldState==HL_STRING and newState==HL_KEYWORD then
if (string.sub(token,1,1) =="$" or string.sub(token,1,1) =="{") and oldState==HL_STRING and newState==HL_KEYWORD then
return HL_INTERPOLATION
end
if (string.sub(token,1,1) =="{") and oldState~=HL_STRING and newState==HL_KEYWORD then
return HL_REJECT
end
if hereDoc~=nil then
return HL_STRING
end
--recognize hereDoc multine strings
if oldState==HL_STANDARD and newState==HL_STRING and not string.find("\"'", token) then
hereDoc = string.match(token, "<<<'?(%a+)" )
hereDoc = string.match(token, "<<<'?([%a_]+)" )
end
if oldState~=HL_STRING and newState==HL_ESC_SEQ then
......
......@@ -115,7 +115,7 @@ install:
@echo
@echo "Done."
@echo "Type highlight --help or man highlight for instructions."
@echo "Take a look at ${DESTDIR}${examples_dir} for plugins and SWIG and TCL language bindings."
@echo "Take a look at ${DESTDIR}${examples_dir} for web plugins, SWIG and TCL bindings."
@echo "Execute 'make install-gui' to install the highlight GUI ('make gui')."
@echo "Do not hesitate to report problems. Unknown bugs are hard to fix."
......
......@@ -1054,10 +1054,6 @@ This feature is enabled for C, C++, C# and Java code.</source>
<source>Add custom script to pool</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can check one file of each type (syntax and theme) to override the default behaviour.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Remove the selected scripts.</source>
<translation type="unfinished"></translation>
......@@ -1074,6 +1070,10 @@ This feature is enabled for C, C++, C# and Java code.</source>
<source>Script description</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can check one file of each type (syntax and theme) to override the default behaviour. If checked, the scripts will be watched for changes.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShowTextFile</name>
......
This diff is collapsed.
......@@ -21,17 +21,17 @@ Revise su instalación.</translation>
Revise su instalacion.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="168"/>
<location filename="mainwindow.cpp" line="169"/>
<source>Always at your service</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="183"/>
<location filename="mainwindow.cpp" line="184"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="219"/>
<location filename="mainwindow.cpp" line="221"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
......@@ -44,93 +44,93 @@ Revise su instalacion.</translation>
<translation type="obsolete">No se pudieron leer las etiquetas de &quot;%1&quot;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="867"/>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="870"/>
<source>Output error</source>
<translation>Error de salida</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="839"/>
<source>Output directory does not exist!</source>
<translation>¡Directorio de salida no existe!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="867"/>
<location filename="mainwindow.cpp" line="870"/>
<source>You must define a style output file!</source>
<translation>¡Debe especificar un archivo de estilo de salida!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="899"/>
<location filename="mainwindow.cpp" line="902"/>
<source>Processing %1 (%2/%3)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="905"/>
<location filename="mainwindow.cpp" line="908"/>
<source>Language definition error</source>
<translation>Error de definición de lenguaje</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Invalid regular expression in %1:
%2</source>
<translation>Expresión regular inválida en %1:
%2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="910"/>
<location filename="mainwindow.cpp" line="913"/>
<source>Unknown syntax</source>
<translation>Sintaxis desconocida</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="910"/>
<location filename="mainwindow.cpp" line="913"/>
<source>Could not convert %1</source>
<translation>No se pudo convertir %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="913"/>
<location filename="mainwindow.cpp" line="916"/>
<source>Lua error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="913"/>
<location filename="mainwindow.cpp" line="916"/>
<source>Could not convert %1:
Lua Syntax error: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="986"/>
<location filename="mainwindow.cpp" line="989"/>
<source>Converted %1 files in %2 ms</source>
<translation>Se convirtieron%1 archivos en %2 ms</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1084"/>
<location filename="mainwindow.cpp" line="1087"/>
<source>Conversion of &quot;%1&quot; not possible.</source>
<translation>No es posible la conversión de &quot;%1&quot;.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1084"/>
<location filename="mainwindow.cpp" line="1194"/>
<location filename="mainwindow.cpp" line="1215"/>
<location filename="mainwindow.cpp" line="1087"/>
<location filename="mainwindow.cpp" line="1198"/>
<location filename="mainwindow.cpp" line="1219"/>
<source>clipboard data</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1149"/>
<location filename="mainwindow.cpp" line="1153"/>
<source>%1 options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1185"/>
<location filename="mainwindow.cpp" line="1189"/>
<source>(user script)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1193"/>
<location filename="mainwindow.cpp" line="1197"/>
<source>Preview (%1):</source>
<translation>Previsualización (%1):</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1196"/>
<location filename="mainwindow.cpp" line="1200"/>
<source>Current syntax: %1 %2</source>
<translation>Sintaxis actual: %1 %2</translation>
</message>
......@@ -139,12 +139,12 @@ Lua Syntax error: %2</source>
<translation type="vanished">Sintaxis actual: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1215"/>
<location filename="mainwindow.cpp" line="1219"/>
<source>Preview of &quot;%1&quot; not possible.</source>
<translation>No es posible previsualizar &quot;%1&quot;.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1447"/>
<location filename="mainwindow.cpp" line="1459"/>
<source>Some plug-in effects may not be visible in the preview.</source>
<translation type="unfinished"></translation>
</message>
......@@ -153,20 +153,20 @@ Lua Syntax error: %2</source>
<translation type="obsolete">Elija un archivo de ctags</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1252"/>
<location filename="mainwindow.cpp" line="1256"/>
<location filename="mainwindow.cpp" line="1260"/>
<location filename="mainwindow.cpp" line="1265"/>
<location filename="mainwindow.cpp" line="1264"/>
<location filename="mainwindow.cpp" line="1269"/>
<source>Choose a style include file</source>
<translation>Elija un archivo de inclusión de estilo</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1270"/>
<location filename="mainwindow.cpp" line="1274"/>
<source>About providing translations</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1271"/>
<location filename="mainwindow.cpp" line="1275"/>
<source>The GUI was developed using the Qt toolkit, and translations may be provided using the tools Qt Linguist and lrelease.
The highlight.ts file for Linguist resides in the src/gui-qt subdirectory.
The qm file generated by lrelease has to be saved in gui-files/l10n.
......@@ -175,17 +175,17 @@ Please send a note to as (at) andre-simon (dot) de if you have issues during tra
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1329"/>
<location filename="mainwindow.cpp" line="1333"/>
<source>Select one or more plug-ins</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1340"/>
<location filename="mainwindow.cpp" line="1344"/>
<source>Select one or more syntax or theme scripts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1396"/>
<location filename="mainwindow.cpp" line="1402"/>
<source>Choose a plug-in input file</source>
<translation type="unfinished"></translation>
</message>
......@@ -822,7 +822,8 @@ Vea ctags.sf.net para más detalles.</translation>
</message>
<message>
<location filename="mainwindow.ui" line="677"/>
<source>You can check one file of each type (syntax and theme) to override the default behaviour.</source>
<source>You can check one file of each type (syntax and theme) to override the default behaviour. If checked, the scripts will be watched for changes.</source>
<oldsource>You can check one file of each type (syntax and theme) to override the default behaviour.</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
......
......@@ -14,109 +14,109 @@
<translation>Impossible de trouver les définitions des syntaxes. Vérifiez votre installation.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="168"/>
<location filename="mainwindow.cpp" line="169"/>
<source>Always at your service</source>
<translation>Toujours à votre service</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="183"/>
<location filename="mainwindow.cpp" line="184"/>
<source>Select one or more files to open</source>
<translation>Sélectionnez un ou plusieurs fichiers à ouvrir</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="219"/>
<location filename="mainwindow.cpp" line="221"/>
<source>Select destination directory</source>
<translation>Sélectionnez un répertoire de destination</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="867"/>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="870"/>
<source>Output error</source>
<translation>Erreur de sortie</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="839"/>
<source>Output directory does not exist!</source>
<translation>Le répertoire de destination n&apos;existe pas !</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="867"/>
<location filename="mainwindow.cpp" line="870"/>
<source>You must define a style output file!</source>
<translation>Vous devez définir un fichier de style de sortie !</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="899"/>
<location filename="mainwindow.cpp" line="902"/>
<source>Processing %1 (%2/%3)</source>
<translation>Traitement de %1 (%2/%3)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="905"/>
<location filename="mainwindow.cpp" line="908"/>
<source>Language definition error</source>
<translation>Erreur de définition du langage</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Invalid regular expression in %1:
%2</source>
<translation>Expression régulière non valide dans %1 :
%2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="910"/>
<location filename="mainwindow.cpp" line="913"/>
<source>Unknown syntax</source>
<translation>Syntaxe inconnue</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="910"/>
<location filename="mainwindow.cpp" line="913"/>
<source>Could not convert %1</source>
<translation>Impossible de convertir %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="913"/>
<location filename="mainwindow.cpp" line="916"/>
<source>Lua error</source>
<translation>Erreur Lua</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="913"/>
<location filename="mainwindow.cpp" line="916"/>
<source>Could not convert %1:
Lua Syntax error: %2</source>
<translation>Impossible de convertir %1 :
Erreur de syntaxe Lua : %2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="986"/>
<location filename="mainwindow.cpp" line="989"/>
<source>Converted %1 files in %2 ms</source>
<translation>%1 fichier(s) converti(s) en %2 ms</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1084"/>
<location filename="mainwindow.cpp" line="1087"/>
<source>Conversion of &quot;%1&quot; not possible.</source>
<translation>Conversion de &quot;%1&quot; impossible.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1084"/>
<location filename="mainwindow.cpp" line="1194"/>
<location filename="mainwindow.cpp" line="1215"/>
<location filename="mainwindow.cpp" line="1087"/>
<location filename="mainwindow.cpp" line="1198"/>
<location filename="mainwindow.cpp" line="1219"/>
<source>clipboard data</source>
<translation>données du presse-papiers</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1149"/>
<location filename="mainwindow.cpp" line="1153"/>
<source>%1 options</source>
<translation>Options de %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1185"/>
<location filename="mainwindow.cpp" line="1189"/>
<source>(user script)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1193"/>
<location filename="mainwindow.cpp" line="1197"/>
<source>Preview (%1):</source>
<translation>Aperçu (%1) :</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1196"/>
<location filename="mainwindow.cpp" line="1200"/>
<source>Current syntax: %1 %2</source>
<translation>Syntaxe actuelle : %1 %2</translation>
</message>
......@@ -125,25 +125,25 @@ Erreur de syntaxe Lua : %2</translation>
<translation type="vanished">Syntaxe actuelle : %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1215"/>
<location filename="mainwindow.cpp" line="1219"/>
<source>Preview of &quot;%1&quot; not possible.</source>
<translation>Impossible de donner un aperçu de &quot;%1&quot;.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1252"/>
<location filename="mainwindow.cpp" line="1256"/>
<location filename="mainwindow.cpp" line="1260"/>
<location filename="mainwindow.cpp" line="1265"/>
<location filename="mainwindow.cpp" line="1264"/>
<location filename="mainwindow.cpp" line="1269"/>
<source>Choose a style include file</source>
<translation>Choisissez un fichier de style à inclure</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1270"/>
<location filename="mainwindow.cpp" line="1274"/>
<source>About providing translations</source>
<translation>À propos des traductions</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1271"/>
<location filename="mainwindow.cpp" line="1275"/>
<source>The GUI was developed using the Qt toolkit, and translations may be provided using the tools Qt Linguist and lrelease.
The highlight.ts file for Linguist resides in the src/gui-qt subdirectory.
The qm file generated by lrelease has to be saved in gui-files/l10n.
......@@ -156,22 +156,22 @@ Le fichier .qm généré par lrelease doit être sauvegardé dans gui-files/l10n
Veuillez m&apos;envoyer une note à l&apos;adresse « as (at) andre-simon (dot) de » si vous rencontrez des problèmes durant la traduction ou si vous avez terminé ou mis à jour une traduction.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1329"/>
<location filename="mainwindow.cpp" line="1333"/>
<source>Select one or more plug-ins</source>
<translation>Sélectionner un ou plusieurs greffons</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1340"/>
<location filename="mainwindow.cpp" line="1344"/>
<source>Select one or more syntax or theme scripts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1396"/>
<location filename="mainwindow.cpp" line="1402"/>
<source>Choose a plug-in input file</source>
<translation>Choisissez un fichier d&apos;entrée pour le greffon</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1447"/>
<location filename="mainwindow.cpp" line="1459"/>
<source>Some plug-in effects may not be visible in the preview.</source>
<translation>Certains effets du greffon peuvent ne pas être visibles dans l&apos;aperçu.</translation>
</message>
......@@ -441,7 +441,8 @@ Veuillez m&apos;envoyer une note à l&apos;adresse « as (at) andre-simon (dot)
</message>
<message>
<location filename="mainwindow.ui" line="677"/>
<source>You can check one file of each type (syntax and theme) to override the default behaviour.</source>
<source>You can check one file of each type (syntax and theme) to override the default behaviour. If checked, the scripts will be watched for changes.</source>
<oldsource>You can check one file of each type (syntax and theme) to override the default behaviour.</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
......
......@@ -14,109 +14,109 @@
<translation>Non ho trovato definizioni sintattiche. Controlla l&apos;installazione.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="168"/>
<location filename="mainwindow.cpp" line="169"/>
<source>Always at your service</source>
<translation>Sempre a tua disposizione</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="183"/>
<location filename="mainwindow.cpp" line="184"/>
<source>Select one or more files to open</source>
<translation>Seleziona uno o più file da aprire</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="219"/>
<location filename="mainwindow.cpp" line="221"/>
<source>Select destination directory</source>
<translation>Seleziona la cartella di destinazione</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="867"/>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="870"/>
<source>Output error</source>
<translation>Errore di output</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="839"/>
<source>Output directory does not exist!</source>
<translation>Cartella di destinazione inesistente!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="867"/>
<location filename="mainwindow.cpp" line="870"/>
<source>You must define a style output file!</source>
<translation>Devi definire un file di destinazione per lo stile!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="899"/>
<location filename="mainwindow.cpp" line="902"/>
<source>Processing %1 (%2/%3)</source>
<translation>Sto processando %1 (%2/%3)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="905"/>
<location filename="mainwindow.cpp" line="908"/>
<source>Language definition error</source>
<translation>Errore nella definizione del linguaggio</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Invalid regular expression in %1:
%2</source>
<translation>Espressione regolare non valida in %1:
%2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="910"/>
<location filename="mainwindow.cpp" line="913"/>
<source>Unknown syntax</source>
<translation>Sintassi sconosciuta</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="910"/>
<location filename="mainwindow.cpp" line="913"/>
<source>Could not convert %1</source>
<translation>Impossibile convertire %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="913"/>
<location filename="mainwindow.cpp" line="916"/>
<source>Lua error</source>
<translation>Errore Lua</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="913"/>
<location filename="mainwindow.cpp" line="916"/>
<source>Could not convert %1:
Lua Syntax error: %2</source>
<translation>Impossibile convertire %1:
Errore di sintassi Lua: %2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="986"/>
<location filename="mainwindow.cpp" line="989"/>
<source>Converted %1 files in %2 ms</source>
<translation>Convertiti %1 file in %2 ms</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1084"/>
<location filename="mainwindow.cpp" line="1087"/>
<source>Conversion of &quot;%1&quot; not possible.</source>
<translation>Impossibile convertire &quot;%1&quot;.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1084"/>
<location filename="mainwindow.cpp" line="1194"/>
<location filename="mainwindow.cpp" line="1215"/>
<location filename="mainwindow.cpp" line="1087"/>
<location filename="mainwindow.cpp" line="1198"/>
<location filename="mainwindow.cpp" line="1219"/>
<source>clipboard data</source>
<translation>dati negli appunti</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1149"/>
<location filename="mainwindow.cpp" line="1153"/>
<source>%1 options</source>
<translation>opzioni %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1185"/>
<location filename="mainwindow.cpp" line="1189"/>
<source>(user script)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1193"/>
<location filename="mainwindow.cpp" line="1197"/>
<source>Preview (%1):</source>
<translation>Anteprima (%1):</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1196"/>
<location filename="mainwindow.cpp" line="1200"/>
<source>Current syntax: %1 %2</source>
<translation type="unfinished">Sintassi in uso: %1 %2</translation>
</message>
......@@ -125,25 +125,25 @@ Errore di sintassi Lua: %2</translation>
<translation type="vanished">Sintassi in uso: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1215"/>
<location filename="mainwindow.cpp" line="1219"/>
<source>Preview of &quot;%1&quot; not possible.</source>
<translation>Impossibile mostrare l&apos;anteprima di &quot;%1&quot;.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1252"/>
<location filename="mainwindow.cpp" line="1256"/>
<location filename="mainwindow.cpp" line="1260"/>
<location filename="mainwindow.cpp" line="1265"/>
<location filename="mainwindow.cpp" line="1264"/>
<location filename="mainwindow.cpp" line="1269"/>
<source>Choose a style include file</source>