forked from qt-creator/qt-creator
Utils: Tr::tr
Change-Id: Ic03e20993f05fb5b49a12c891d86afb2c8e18e08 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "environmentdialog.h"
|
||||
|
||||
#include "environment.h"
|
||||
#include "utilstr.h"
|
||||
|
||||
namespace Utils {
|
||||
|
||||
@@ -15,14 +16,14 @@ std::optional<EnvironmentItems> EnvironmentDialog::getEnvironmentItems(
|
||||
initial,
|
||||
placeholderText,
|
||||
polisher,
|
||||
tr("Edit Environment"),
|
||||
tr("Enter one environment variable per line.\n"
|
||||
"To set or change a variable, use VARIABLE=VALUE.\n"
|
||||
"To append to a variable, use VARIABLE+=VALUE.\n"
|
||||
"To prepend to a variable, use VARIABLE=+VALUE.\n"
|
||||
"Existing variables can be referenced in a VALUE with ${OTHER}.\n"
|
||||
"To clear a variable, put its name on a line with nothing else on it.\n"
|
||||
"To disable a variable, prefix the line with \"#\"."));
|
||||
Tr::tr("Edit Environment"),
|
||||
Tr::tr("Enter one environment variable per line.\n"
|
||||
"To set or change a variable, use VARIABLE=VALUE.\n"
|
||||
"To append to a variable, use VARIABLE+=VALUE.\n"
|
||||
"To prepend to a variable, use VARIABLE=+VALUE.\n"
|
||||
"Existing variables can be referenced in a VALUE with ${OTHER}.\n"
|
||||
"To clear a variable, put its name on a line with nothing else on it.\n"
|
||||
"To disable a variable, prefix the line with \"#\"."));
|
||||
}
|
||||
|
||||
} // namespace Utils
|
||||
|
||||
Reference in New Issue
Block a user