Vasily Kuznetsov
2019/01/14 16:14:06
Let's add line breaks and maybe some descriptions
Let's add line breaks and maybe some descriptions to these values, otherwise
it's pretty hard to understand what's going on. Maybe like this:
...
get_string('exists', 'global') = {{- get_string('exists', 'global') }}
page_has_locale('global', 'en') = {{- page_has_locale('global', 'en') }}
page_has_locale('global', 'de') = {{- page_has_locale('global', 'de') }}
A bit repetitive, but the output would be a lot easier to examine. What do you
think?
On 2019/01/14 16:14:06, Vasily Kuznetsov wrote:
> Let's add line breaks and maybe some descriptions to these values, otherwise
> it's pretty hard to understand what's going on. Maybe like this:
>
> ...
> get_string('exists', 'global') = {{- get_string('exists', 'global') }}
> page_has_locale('global', 'en') = {{- page_has_locale('global', 'en') }}
> page_has_locale('global', 'de') = {{- page_has_locale('global', 'de') }}
>
> A bit repetitive, but the output would be a lot easier to examine. What do you
> think?
Issue 29979564: Issue 5452 - Improve CMS API for local link generation
(Closed)
Created Jan. 11, 2019, 11:46 p.m. by rhowell
Modified Jan. 17, 2019, 8:49 p.m.
Reviewers: Vasily Kuznetsov
Base URL: https://hg.adblockplus.org/cms/
Comments: 10