aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2016-10-11 14:15:33 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2016-10-12 09:08:12 +0000
commit19b778e2dedf4e5b39d44d83e7c1cad909898f27 (patch)
tree7a6f6639e419f9e81e4e70fb10eed3fa860048aa /src
parent5d99057248fc47077b705b15d8838007f942cb2e (diff)
qtvstools: Add missing resource strings
Change-Id: If97669decf654c08197d637619b64fbb1ebf624b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qtvstools/DefaultEditorsHandler.cs4
-rw-r--r--src/qtvstools/Resources.resx9
2 files changed, 11 insertions, 2 deletions
diff --git a/src/qtvstools/DefaultEditorsHandler.cs b/src/qtvstools/DefaultEditorsHandler.cs
index 6cd570cc..456b7ff7 100644
--- a/src/qtvstools/DefaultEditorsHandler.cs
+++ b/src/qtvstools/DefaultEditorsHandler.cs
@@ -137,7 +137,7 @@ namespace QtVsTools
if (QtVSIPSettings.GetAskBeforeCheckoutFile()) {
var shortFileName = Path.GetFileName(fileName);
var dr = MessageBox.Show(SR.GetString("QuestionSCCCheckoutOnOpen", shortFileName),
- Resources.msgBoxCaption, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question,
+ SR.GetString("Resources_QtVsTools"), MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question,
MessageBoxDefaultButton.Button1);
if (dr == DialogResult.Cancel)
abortOperation = true;
@@ -267,7 +267,7 @@ namespace QtVsTools
qtDir = HelperFunctions.FindQtDirWithTools(tool, qtVersion);
if (string.IsNullOrEmpty(qtDir))
- MessageBox.Show(SR.GetString("NoDefaultQtVersionError"), Resources.msgBoxCaption);
+ MessageBox.Show(SR.GetString("NoDefaultQtVersionError"), SR.GetString("Resources_QtVsTools"));
return !string.IsNullOrEmpty(qtDir);
}
diff --git a/src/qtvstools/Resources.resx b/src/qtvstools/Resources.resx
index 0c8e2ce9..c8dabfb0 100644
--- a/src/qtvstools/Resources.resx
+++ b/src/qtvstools/Resources.resx
@@ -384,4 +384,13 @@ Note: You can turn off this question by setting "Ask before checking out files"
<data name="XmlPatternsLibrary" xml:space="preserve">
<value>XML Patterns</value>
</data>
+ <data name="ExportProject_ImportPriFile" xml:space="preserve">
+ <value>Import from .pri file</value>
+ </data>
+ <data name="Helpers_ExitError" xml:space="preserve">
+ <value>The application exited with an error (ExitCode {0}):</value>
+ </data>
+ <data name="Resources_QtVsTools" xml:space="preserve">
+ <value>Qt VS Tools</value>
+ </data>
</root> \ No newline at end of file