diff options
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/404.php | 2 | ||||
-rw-r--r-- | core/templates/installation.php | 2 | ||||
-rw-r--r-- | core/templates/update.admin.php | 4 | ||||
-rw-r--r-- | core/templates/update.user.php | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/core/templates/404.php b/core/templates/404.php index 071d57b1b68..925059d4750 100644 --- a/core/templates/404.php +++ b/core/templates/404.php @@ -20,7 +20,7 @@ if(!isset($_)) {//standalone page is not supported anymore - redirect to / <h2><?php p($l->t('File not found')); ?></h2> <p class="infogroup"><?php p($l->t('The document could not be found on the server. Maybe the share was deleted or has expired?')); ?></p> <p><a class="button primary" href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>"> - <?php p($l->t('Back to %s', array($theme->getName()))); ?> + <?php p($l->t('Back to %s', [$theme->getName()])); ?> </a></p> </div> <?php endif; ?> diff --git a/core/templates/installation.php b/core/templates/installation.php index 5a351e97416..25052782e6f 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -81,7 +81,7 @@ script('core', [ <?php foreach($_['databases'] as $type => $label): ?> <?php if(count($_['databases']) === 1): ?> <p class="info"> - <?php p($l->t( 'Only %s is available.', array($label) )); ?> + <?php p($l->t( 'Only %s is available.', [$label] )); ?> <?php p($l->t( 'Install and activate additional PHP modules to choose other database types.' )); ?><br> <a href="<?php print_unescaped(link_to_docs('admin-source_install')); ?>" target="_blank" rel="noreferrer noopener"> <?php p($l->t( 'For more details check out the documentation.' )); ?> ↗</a> diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php index f4a1c72ae8d..4a010c025be 100644 --- a/core/templates/update.admin.php +++ b/core/templates/update.admin.php @@ -4,7 +4,7 @@ <h2 class="title"><?php p($l->t('App update required')); ?></h2> <?php } else { ?> <h2 class="title"><?php p($l->t('%1$s will be updated to version %2$s', - array($_['productName'], $_['version']))); ?></h2> + [$_['productName'], $_['version']])); ?></h2> <?php } ?> <?php if (!empty($_['appsToUpgrade'])) { ?> <div class="infogroup"> @@ -28,7 +28,7 @@ <?php } ?> <?php if (!empty($_['oldTheme'])) { ?> <div class="infogroup"> - <?php p($l->t('The theme %s has been disabled.', array($_['oldTheme']))) ?> + <?php p($l->t('The theme %s has been disabled.', [$_['oldTheme']])) ?> </div> <?php } ?> <div class="infogroup bold"> diff --git a/core/templates/update.user.php b/core/templates/update.user.php index 661d7d45a30..2c6ffd43444 100644 --- a/core/templates/update.user.php +++ b/core/templates/update.user.php @@ -1,6 +1,6 @@ <div class="body-login-container"> <div class="icon-big icon-error-white"></div> - <h2><?php p($l->t('Maintenance mode', array($theme->getName()))) ?></h2> - <p><?php p($l->t('This %s instance is currently in maintenance mode, which may take a while.', array($theme->getName()))) ?> <?php p($l->t('This page will refresh itself when the instance is available again.')) ?></p> + <h2><?php p($l->t('Maintenance mode', [$theme->getName()])) ?></h2> + <p><?php p($l->t('This %s instance is currently in maintenance mode, which may take a while.', [$theme->getName()])) ?> <?php p($l->t('This page will refresh itself when the instance is available again.')) ?></p> <p><?php p($l->t('Contact your system administrator if this message persists or appeared unexpectedly.')) ?></p> </div> |