-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
runUpdaterAndExit_welcome_cli.twig
37 lines (25 loc) · 1.12 KB
/
runUpdaterAndExit_welcome_cli.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{% autoescape false %}
{% set helpMessage %}
{{- 'CoreUpdater_HelpMessageContent'|translate('[',']','\n\n *') }}
{% endset %}
*** {{ 'CoreUpdater_UpdateTitle'|translate }} ***
{% if coreError %}
[X] {{ 'CoreUpdater_CriticalErrorDuringTheUpgradeProcess'|translate }}
{% for message in errorMessages %}
{{- message }}
{% endfor %}
{{ 'CoreUpdater_HelpMessageIntroductionWhenError'|translate }}
* {{ helpMessage }}
{% elseif coreToUpdate or pluginNamesToUpdate|count > 0 %}
{{ 'CoreUpdater_DatabaseUpgradeRequired'|translate }}
{{ 'CoreUpdater_YourDatabaseIsOutOfDate'|translate }}
{% if coreToUpdate %}
{{ 'CoreUpdater_PiwikWillBeUpgradedFromVersionXToVersionY'|translate(current_piwik_version, new_piwik_version) }}
{% endif %}
{% if pluginNamesToUpdate|count > 0 %}
{%- set listOfPlugins %}{{ pluginNamesToUpdate|implode(', ') }}{% endset %}
{{ 'CoreUpdater_TheFollowingPluginsWillBeUpgradedX'|translate( listOfPlugins) }}
{% endif %}
{{ 'CoreUpdater_TheUpgradeProcessMayTakeAWhilePleaseBePatient'|translate }}
{% endif %}
{% endautoescape %}