]> git.mxchange.org Git - friendica.git/blobdiff - include/pgettext.php
more spaces + some curly spaces added
[friendica.git] / include / pgettext.php
index 21d95e32497ed944e38cf34209b532cbae4a1de3..79b341c0da4986b735a68b1bbeee25c7d3d04346 100644 (file)
@@ -106,7 +106,7 @@ function load_translation_table($lang) {
        // load enabled plugins strings
        $plugins = q("SELECT name FROM addon WHERE installed=1;");
        if ($plugins!==false) {
-               foreach($plugins as $p) {
+               foreach ($plugins as $p) {
                        $name = $p['name'];
                        if (file_exists("addon/$name/lang/$lang/strings.php")) {
                                include("addon/$name/lang/$lang/strings.php");
@@ -185,7 +185,7 @@ function get_available_languages() {
                        $strings_file_paths[] = 'view/lang/en/strings.php';
                }
                asort($strings_file_paths);
-               foreach($strings_file_paths as $strings_file_path) {
+               foreach ($strings_file_paths as $strings_file_path) {
                        $path_array = explode('/', $strings_file_path);
                        $langs[$path_array[2]] = $path_array[2];
                }