freemium: corrected typos
Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: If21f4471b3ad4b20f049e2e9f2330e31989ead0b
This commit is contained in:
parent
dc51804de2
commit
daef96dcb3
5 changed files with 15 additions and 15 deletions
|
@ -32,7 +32,7 @@ public:
|
|||
|
||||
static std::string getFreemiumPurchaseTitle() { return config::getString("freemium.purchase_title", ""); }
|
||||
static std::string getFreemiumPurchaseLink() { return config::getString("freemium.purchase_link", ""); }
|
||||
static std::string getFreemiumPurchaseDiscription() { return config::getString("freemium.purchase_discription", ""); }
|
||||
static std::string getFreemiumPurchaseDescription() { return config::getString("freemium.purchase_description", ""); }
|
||||
static std::string getWriterHighlights() { return config::getString("freemium.writer_subscription_highlights", ""); }
|
||||
static std::string getCalcHighlights() { return config::getString("freemium.calc_subscription_highlights", ""); }
|
||||
static std::string getImpressHighlights() { return config::getString("freemium.impress_subscription_highlights", ""); }
|
||||
|
|
18
configure.ac
18
configure.ac
|
@ -1314,12 +1314,12 @@ fi
|
|||
AC_DEFINE_UNQUOTED([PURCHASE_LINK],["$PURCHASE_LINK"],[Default value of freemium.purchase_link])
|
||||
AC_SUBST(PURCHASE_LINK)
|
||||
|
||||
PURCHASE_DISCRIPTION=
|
||||
PURCHASE_DESCRIPTION=
|
||||
if test "$enable_freemium" = "yes"; then
|
||||
PURCHASE_DISCRIPTION="Head over to the subscription page and discover all the features:"
|
||||
PURCHASE_DESCRIPTION="Head over to the subscription page and discover all the features:"
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED([PURCHASE_DISCRIPTION],["$PURCHASE_DISCRIPTION"],[Default value of freemium.purchase_discription])
|
||||
AC_SUBST(PURCHASE_DISCRIPTION)
|
||||
AC_DEFINE_UNQUOTED([PURCHASE_DESCRIPTION],["$PURCHASE_DESCRIPTION"],[Default value of freemium.purchase_description])
|
||||
AC_SUBST(PURCHASE_DESCRIPTION)
|
||||
|
||||
WRITER_SUBSCRIPTION_HIGHLIGHTS=
|
||||
if test "$enable_freemium" = "yes"; then
|
||||
|
@ -1355,11 +1355,11 @@ if test "$enable_freemium" = "yes"; then
|
|||
<disabled_commands desc=\"List of commands to disable the functionality.\" default=\"$DISABLED_COMMANDS\">$DISABLED_COMMANDS</disabled_commands>
|
||||
<purchase_title desc=\"Title to show user when prompting the subscription popup\" default=\"$PURCHASE_TITLE\">$PURCHASE_TITLE</purchase_title>
|
||||
<purchase_link desc=\"Link from where user can buy the subscription\" default=\"$PURCHASE_LINK\">$PURCHASE_LINK</purchase_link>
|
||||
<purchase_discription desc=\"Discription about the subscription\" default=\"$PURCHASE_DISCRIPTION\">$PURCHASE_DISCRIPTION</purchase_discription>
|
||||
<writer_subscription_highlights desc=\"Short note about Writer benifits of subscription\" default=\"$WRITER_SUBSCRIPTION_HIGHLIGHTS\">$WRITER_SUBSCRIPTION_HIGHLIGHTS</writer_subscription_highlights>
|
||||
<calc_subscription_highlights desc=\"Short note about Calc benifits of subscription\" default=\"$CALC_SUBSCRIPTION_HIGHLIGHTS\">$CALC_SUBSCRIPTION_HIGHLIGHTS</calc_subscription_highlights>
|
||||
<impress_subscription_highlights desc=\"Short note about Impress benifits of subscription\" default=\"$IMPRESS_SUBSCRIPTION_HIGHLIGHTS\">$IMPRESS_SUBSCRIPTION_HIGHLIGHTS</impress_subscription_highlights>
|
||||
<draw_subscription_highlights desc=\"Short note about Draw benifits of subscription\" default=\"$DRAW_SUBSCRIPTION_HIGHLIGHTS\">$DRAW_SUBSCRIPTION_HIGHLIGHTS</draw_subscription_highlights>
|
||||
<purchase_description desc=\"Description about the subscription\" default=\"$PURCHASE_DESCRIPTION\">$PURCHASE_DESCRIPTION</purchase_description>
|
||||
<writer_subscription_highlights desc=\"Short note about Writer benefits of subscription\" default=\"$WRITER_SUBSCRIPTION_HIGHLIGHTS\">$WRITER_SUBSCRIPTION_HIGHLIGHTS</writer_subscription_highlights>
|
||||
<calc_subscription_highlights desc=\"Short note about Calc benefits of subscription\" default=\"$CALC_SUBSCRIPTION_HIGHLIGHTS\">$CALC_SUBSCRIPTION_HIGHLIGHTS</calc_subscription_highlights>
|
||||
<impress_subscription_highlights desc=\"Short note about Impress benefits of subscription\" default=\"$IMPRESS_SUBSCRIPTION_HIGHLIGHTS\">$IMPRESS_SUBSCRIPTION_HIGHLIGHTS</impress_subscription_highlights>
|
||||
<draw_subscription_highlights desc=\"Short note about Draw benefits of subscription\" default=\"$DRAW_SUBSCRIPTION_HIGHLIGHTS\">$DRAW_SUBSCRIPTION_HIGHLIGHTS</draw_subscription_highlights>
|
||||
</freemium>"
|
||||
fi
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ L.Map.include({
|
|||
freemiumDenyList: [],
|
||||
freemiumPurchaseTitle: '',
|
||||
freemiumPurchaseLink: '',
|
||||
freemiumPurchaseDiscription: '',
|
||||
freemiumPurchaseDescription: '',
|
||||
writerHighlights: '',
|
||||
calcHighlights: '',
|
||||
impressHighlights: '',
|
||||
|
@ -23,7 +23,7 @@ L.Map.include({
|
|||
this.Freemium.freemiumDenyList = freemiumInfo['FreemiumDenyList'];
|
||||
this.Freemium.freemiumPurchaseTitle = _(freemiumInfo['FreemiumPurchaseTitle']);
|
||||
this.Freemium.freemiumPurchaseLink = _(freemiumInfo['FreemiumPurchaseLink']);
|
||||
this.Freemium.freemiumPurchaseDiscription = _(freemiumInfo['FreemiumPurchaseDiscription']);
|
||||
this.Freemium.freemiumPurchaseDescription = _(freemiumInfo['FreemiumPurchaseDescription']);
|
||||
this.Freemium.writerHighlights = _(freemiumInfo['WriterHighlights']);
|
||||
this.Freemium.calcHighlights = _(freemiumInfo['CalcHighlights']);
|
||||
this.Freemium.impressHighlights = _(freemiumInfo['ImpressHighlights']);
|
||||
|
@ -67,7 +67,7 @@ L.Map.include({
|
|||
'<div class="item illustration"></div>',
|
||||
'<div class="item">',
|
||||
'<h1>' + this.Freemium.freemiumPurchaseTitle + '</h1>',
|
||||
'<p>' + this.Freemium.freemiumPurchaseDiscription + '<p>',
|
||||
'<p>' + this.Freemium.freemiumPurchaseDescription + '<p>',
|
||||
'<ul>',
|
||||
'<li>' + this.Freemium.writerHighlights + '</li>',
|
||||
'<li>' + this.Freemium.calcHighlights + '</li>',
|
||||
|
|
|
@ -809,7 +809,7 @@ bool DocumentBroker::download(const std::shared_ptr<ClientSession>& session, con
|
|||
freemiumInfo->set("FreemiumDenyList", Freemium::FreemiumManager::getFreemiumDenyList());
|
||||
freemiumInfo->set("FreemiumPurchaseTitle", Freemium::FreemiumManager::getFreemiumPurchaseTitle());
|
||||
freemiumInfo->set("FreemiumPurchaseLink", Freemium::FreemiumManager::getFreemiumPurchaseLink());
|
||||
freemiumInfo->set("FreemiumPurchaseDiscription", Freemium::FreemiumManager::getFreemiumPurchaseDiscription());
|
||||
freemiumInfo->set("FreemiumPurchaseDescription", Freemium::FreemiumManager::getFreemiumPurchaseDescription());
|
||||
freemiumInfo->set("WriterHighlights", Freemium::FreemiumManager::getWriterHighlights());
|
||||
freemiumInfo->set("CalcHighlights", Freemium::FreemiumManager::getCalcHighlights());
|
||||
freemiumInfo->set("ImpressHighlights", Freemium::FreemiumManager::getImpressHighlights());
|
||||
|
|
|
@ -1038,7 +1038,7 @@ void LOOLWSD::innerInitialize(Application& self)
|
|||
{ "freemium.disabled_commands", DISABLED_COMMANDS },
|
||||
{ "freemium.purchase_title", PURCHASE_TITLE },
|
||||
{ "freemium.purchase_link", PURCHASE_LINK },
|
||||
{ "freemium.purchase_discription", PURCHASE_DISCRIPTION },
|
||||
{ "freemium.purchase_description", PURCHASE_DESCRIPTION },
|
||||
{ "freemium.writer_subscription_highlights", WRITER_SUBSCRIPTION_HIGHLIGHTS },
|
||||
{ "freemium.calc_subscription_highlights", CALC_SUBSCRIPTION_HIGHLIGHTS },
|
||||
{ "freemium.impress_subscription_highlights", IMPRESS_SUBSCRIPTION_HIGHLIGHTS },
|
||||
|
|
Loading…
Reference in a new issue