mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
Hopefully all t()
hopefully the last of the t()
This commit is contained in:
parent
83f1149d04
commit
f0725ae384
27 changed files with 124 additions and 117 deletions
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\PConfig;
|
||||
|
||||
require_once("mod/notes.php");
|
||||
|
@ -36,7 +37,7 @@ function update_notes_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