aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/luapluginspec.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <[email protected]>2024-06-25 10:34:55 +0200
committerLeena Miettinen <[email protected]>2024-06-26 14:09:17 +0000
commita81e4fb277b298de630132eb4e4e1b0d1b4a2b98 (patch)
tree4245371dd3fb5398c4838c3c1c201db32653f5d7 /src/plugins/lua/luapluginspec.cpp
parentd6eee1e25072133183541cbf17ed9186a0268302 (diff)
Extensions: Edit UI text
- Add dots to ends of messages - Replace "plugin" with "extension" in translatable text - Fix capitalization of headings and button labels - Change wording Change-Id: I24a3ca6de6a5a0a4509bab34ad2f50cbcf40c73a Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: Leena Miettinen <[email protected]>
Diffstat (limited to 'src/plugins/lua/luapluginspec.cpp')
-rw-r--r--src/plugins/lua/luapluginspec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/luapluginspec.cpp b/src/plugins/lua/luapluginspec.cpp
index 3e6b1eb3edd..f00e48936bc 100644
--- a/src/plugins/lua/luapluginspec.cpp
+++ b/src/plugins/lua/luapluginspec.cpp
@@ -108,19 +108,19 @@ bool LuaPluginSpec::initializePlugin()
= LuaEngine::instance().prepareSetup(*activeLuaState, *this);
if (!setupResult) {
- setError(Lua::Tr::tr("Failed to prepare plugin setup: %1").arg(setupResult.error()));
+ setError(Lua::Tr::tr("Cannot prepare extension setup: %1").arg(setupResult.error()));
return false;
}
auto result = setupResult->call();
if (result.get_type() == sol::type::boolean && result.get<bool>() == false) {
- setError(Lua::Tr::tr("Plugin setup function returned false"));
+ setError(Lua::Tr::tr("Extension setup function returned false."));
return false;
} else if (result.get_type() == sol::type::string) {
std::string error = result.get<sol::error>().what();
if (!error.empty()) {
- setError(Lua::Tr::tr("Plugin setup function returned error: %1")
+ setError(Lua::Tr::tr("Extension setup function returned error: %1")
.arg(QString::fromStdString(error)));
return false;
}