From 02f293d05dba4ec2a602fd12f7d7d445244d244a Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 26 Jun 2021 13:22:28 +0300 Subject: [PATCH] generic: remove transcript support Signed-off-by: Ivailo Monev --- l10n/C/entry.desktop | 1 - plasma/declarativeimports/locale/locale.cpp | 5 ----- plasma/declarativeimports/locale/locale_p.h | 8 -------- 3 files changed, 14 deletions(-) diff --git a/l10n/C/entry.desktop b/l10n/C/entry.desktop index 172c3c0d..7186516b 100644 --- a/l10n/C/entry.desktop +++ b/l10n/C/entry.desktop @@ -95,7 +95,6 @@ Name[zh_TW]=預設 Region= Languages=en_US -Transcript=true NounDeclension=false LanguageSensitiveDigits=true diff --git a/plasma/declarativeimports/locale/locale.cpp b/plasma/declarativeimports/locale/locale.cpp index 77b860b5..857225f0 100644 --- a/plasma/declarativeimports/locale/locale.cpp +++ b/plasma/declarativeimports/locale/locale.cpp @@ -481,11 +481,6 @@ QString Locale::defaultCurrencyCode() return KLocale::defaultCurrencyCode(); } -bool Locale::useTranscript() const -{ - return m_locale->useTranscript(); -} - int Locale::fileEncodingMib() const { return m_locale->fileEncodingMib(); diff --git a/plasma/declarativeimports/locale/locale_p.h b/plasma/declarativeimports/locale/locale_p.h index 2cd8d7bb..300572ac 100644 --- a/plasma/declarativeimports/locale/locale_p.h +++ b/plasma/declarativeimports/locale/locale_p.h @@ -116,7 +116,6 @@ Q_PROPERTY(bool use12Clock READ use12Clock CONSTANT) Q_PROPERTY(QString defaultLanguage READ defaultLanguage CONSTANT)//read-only Q_PROPERTY(QString defaultCountry READ defaultCountry CONSTANT)//read-only Q_PROPERTY(QString defaultCurrencyCode READ defaultCurrencyCode CONSTANT)//read-only -Q_PROPERTY(bool useTranscript READ useTranscript CONSTANT) //read-only Q_PROPERTY(int fileEncodingMib READ fileEncodingMib CONSTANT) //read-only Q_PROPERTY(QStringList languageList READ languageList CONSTANT) //read-only Q_PROPERTY(QStringList currencyCodeList READ currencyCodeList CONSTANT) //read-only @@ -1476,13 +1475,6 @@ public: */ QString defaultCurrencyCode(); - /** - * Reports whether evaluation of translation scripts is enabled. - * - * @return true if script evaluation is enabled, false otherwise. - */ - bool useTranscript() const; - /** * Checks whether or not the active catalog is found for the given language. *