More t()
Update more t() calls
This commit is contained in:
parent
3b0f69599e
commit
ead9d86236
25 changed files with 367 additions and 346 deletions
|
@ -1,8 +1,11 @@
|
|||
<?php
|
||||
|
||||
// See update_profile.php for documentation
|
||||
/**
|
||||
* @file mod/update_display.php
|
||||
* See update_profile.php for documentation
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\PConfig;
|
||||
|
||||
require_once "mod/display.php";
|
||||
|
@ -21,7 +24,7 @@ function update_display_content(App $a)
|
|||
$text = preg_replace($pattern, $replace, $text);
|
||||
|
||||
if (PConfig::get(local_user(), "system", "bandwith_saver")) {
|
||||
$replace = "<br />" . t("[Embedded content - reload page to view]") . "<br />";
|
||||
$replace = "<br />" . L10n::t("[Embedded content - reload page to view]") . "<br />";
|
||||
$pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
$pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue