From abedbdc749206ccc940a90b09305752b106aaed8 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Tue, 25 Jul 2017 12:51:02 +0200 Subject: [PATCH] Add a information message in the filename editor window --- src/config/configwindow.cpp | 6 ++-- src/config/filenameeditor.cpp | 2 ++ translation/Internationalization_es.qm | Bin 11553 -> 11907 bytes translation/Internationalization_es.ts | 40 ++++++++++++++++++------- 4 files changed, 35 insertions(+), 13 deletions(-) diff --git a/src/config/configwindow.cpp b/src/config/configwindow.cpp index 2f1afeab..ff0dcbf3 100644 --- a/src/config/configwindow.cpp +++ b/src/config/configwindow.cpp @@ -57,15 +57,15 @@ ConfigWindow::ConfigWindow(QWidget *parent) : QTabWidget(parent) { buttonList, &ButtonListView::selectAll); listLayout->addWidget(setAllButtons); - addTab(visuals, "Interface"); + addTab(visuals, tr("Interface")); setTabIcon(0, QIcon(modifier + "graphics.png")); // filename - addTab(new FileNameEditor(), "Name Editor"); + addTab(new FileNameEditor(), tr("Filename Editor")); setTabIcon(1, QIcon(modifier + "name_edition.png")); // general - addTab(new GeneneralConf(), "General"); + addTab(new GeneneralConf(), tr("General")); setTabIcon(2, QIcon(modifier + "config.png")); show(); diff --git a/src/config/filenameeditor.cpp b/src/config/filenameeditor.cpp index 3daec8dc..39da6a92 100644 --- a/src/config/filenameeditor.cpp +++ b/src/config/filenameeditor.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include FileNameEditor::FileNameEditor(QWidget *parent) : QGroupBox(parent) { @@ -31,6 +32,7 @@ FileNameEditor::FileNameEditor(QWidget *parent) : QGroupBox(parent) { void FileNameEditor::initLayout() { m_layout = new QVBoxLayout(this); + m_layout->addWidget(new QLabel(tr("Edit the name of your captures:"), this)); m_layout->addWidget(m_helperButtons); m_layout->addWidget(m_nameEditor); m_layout->addWidget(m_outputLabel); diff --git a/translation/Internationalization_es.qm b/translation/Internationalization_es.qm index ad702a8eea97acb89018f39a9a7c7961d21057f8..ecccee5d228c2d446046fba8321700c8ca9a21e6 100644 GIT binary patch delta 1145 zcmX|<4NR1E9LK-+@;rCXJ$LsI=)#g&k4Ab`@(ocVPB;EN3rZ-imcE(0y;>MgIbG8il$ih5>n-7=NLXVEtmY z*$y~96qgzMS%6V2x9Djf5`!)lAgmG(juRlcUhKa@fYbr;VhiI+Z;033GeHvlBVPBU zv1P@kB3&1d)N6WWlM}FCH2rpq9mz16lWc$S{%`XGB^*)uFXq-%f~MHaBl0t}OPAK| zU;<@{wCBbsJ9g#nnf03Ip@+!+?6yvUDTml(1$0q#u}HY3Uf7Vg;p^@RJdCDr)I=v{OHAIr}Pi zLl~4-`)IH0kXnK}YJ!sJq(j06C2=SXSU9CPKUm6bZBTM%E^)R|Wz9)$t>cEW>HQT<_>>af%RuQ3 z%HV0n$ITizlU_}AE(BMHi+-6=tg2B6@hAhThQ!K?I@&!kFOtYcw@$}E!dh$;ic^2S&Ks6`DW4-@PnXYHL-HOPx4 nOP>W&1Lc}}2d{d&T321`S3T}sfm**-lh^jJH7W9(+>`M?)zBoO delta 858 zcmX9+drXaS7=Ak6rSqNdeCMN!ib`=(M=mk51}9xy)^gxlI_k9fjPA5>4b* zA`O|7&0$6!%=21HS4tl9&ZHi*Y}g}?!!L2Sqx1bAtZJ+GP_KbN8x-Dg3H6ua{g zpcYC?;(r64(Ng-FeF(E@lcmxqfkAh=pyXfiNALEhdIR@0r)I+-=Aa!wEgZMesTi6YmL6zH~u?~1E+8$ zfrpKG{uJn2Z+xN7rm$B^LMnl@&&sCn&79Ej|JIhQY};ezBnKv4c_mpXPC^V|y5n9&AV>N^lZ?5tfSevru) - + Error trying to save in Error intentando guardar en @@ -71,6 +71,21 @@ Presiona click derecho para mostrar el selector de color. Select All Seleccionar Todos + + + Interface + Interfaz + + + + Filename Editor + Editor de Nombre + + + + General + General + Controller @@ -119,32 +134,37 @@ Presiona click derecho para mostrar el selector de color. FileNameEditor - + + Edit the name of your captures: + Edita el nombre de tus capturas: + + + Save Guardar - + Saves the pattern Guarda el patrón - + Reset Reiniciar - + Restores the saved pattern Restaura el patrón guardado - + Clear Limpiar - + Deletes the name Borra el patrón @@ -317,17 +337,17 @@ Presiona click derecho para mostrar el selector de color. QObject - + Save As Guardar Como - + Save Error Error al Guardar - + The image could not be saved to "%1". la imagen no pudo ser guardada en "%1".