diff options
author | Alexander V. Wolf <alex.v.wolf@gmail.com> | 2022-02-02 05:12:28 +0700 |
---|---|---|
committer | Alexander V. Wolf <alex.v.wolf@gmail.com> | 2022-02-02 05:12:28 +0700 |
commit | e52717c132724063be4746ec79b0f16566a41b8a (patch) | |
tree | 5f54970811eb1ba2698647ac45f9057949564814 | |
parent | 9305c7056894b2f925ec7e59cbf6b92597b90ddd (diff) |
added comment for translators
-rw-r--r-- | po/stellarium/stellarium.pot | 5 | ||||
-rw-r--r-- | src/gui/LightPollutionWidget.cpp | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/po/stellarium/stellarium.pot b/po/stellarium/stellarium.pot index fbc9708ec6..4d72753c74 100644 --- a/po/stellarium/stellarium.pot +++ b/po/stellarium/stellarium.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: stellarium@googlegroups.com\n" -"POT-Creation-Date: 2022-02-02 05:08+0700\n" +"POT-Creation-Date: 2022-02-02 05:12+0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -6822,7 +6822,8 @@ msgstr "" msgid "inner-city sky" msgstr "" -#: src/gui/LightPollutionWidget.cpp:316 +#. TRANSLATORS: The tooltip has two lines +#: src/gui/LightPollutionWidget.cpp:317 #, qt-format msgid "" "Bortle class %1: %2\n" diff --git a/src/gui/LightPollutionWidget.cpp b/src/gui/LightPollutionWidget.cpp index 6a6ff0fee7..74e814e5e9 100644 --- a/src/gui/LightPollutionWidget.cpp +++ b/src/gui/LightPollutionWidget.cpp @@ -313,6 +313,7 @@ void LightPollutionWidget::updateBortleScaleToolTip() const auto nelm = StelCore::luminanceToNELM(luminanceValue_); const auto bortleIndex = StelCore::nelmToBortleScaleIndex(nelm); + // TRANSLATORS: The tooltip has two lines QString tooltip = q_("Bortle class %1: %2\nNaked-eye limiting magnitude: %3") .arg(bortleIndex).arg(list.at(bortleIndex - 1)).arg(std::round(nelm*10)*0.1); |