Skip to content

Commit

Permalink
added translation for install new link refs #4223
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Nov 11, 2013
1 parent b90b47b commit 8afe400
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lang/en.json
Expand Up @@ -733,7 +733,8 @@
"ChangeSettingsPossible": "You can change <a href=\"%s\">settings</a> for this plugin.",
"OriginCore": "Core",
"OriginThirdParty": "Third-party",
"Origin": "Origin"
"Origin": "Origin",
"InstallNew": "Install new %s"
},
"CoreUpdater": {
"PluginDescription": "Piwik updating mechanism",
Expand Down
4 changes: 2 additions & 2 deletions plugins/CorePluginsAdmin/templates/macros.twig
Expand Up @@ -61,9 +61,9 @@
{% if isMarketplaceEnabled %}
<span class="getNewPlugins">
{% if isTheme %}
<a href="{{ linkTo({'action':'browseThemes', 'sort': ''}) }}">Install new themes</a>
<a href="{{ linkTo({'action':'browseThemes', 'sort': ''}) }}">{{ 'CorePluginsAdmin_InstallNew'|translate('CorePluginsAdmin_Themes'|translate) }}</a>
{% else %}
<a href="{{ linkTo({'action':'browsePlugins', 'sort': ''}) }}">Install new plugins</a>
<a href="{{ linkTo({'action':'browsePlugins', 'sort': ''}) }}">{{ 'CorePluginsAdmin_InstallNew'|translate('General_Plugins'|translate) }}</a>
{% endif %}
</span>
{% endif %}
Expand Down

0 comments on commit 8afe400

Please sign in to comment.