]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
updated JA translation THX Ozero Dien
[friendica.git] / mod / editpost.php
index 94d483172f6c14ce76f6de678817d5baf1bb8210..aa8930e5d027c422c9746d959a72b6d613c2fa05 100644 (file)
@@ -1,12 +1,27 @@
 <?php
 /**
- * @file mod/editpost.php
+ * @copyright Copyright (C) 2020, Friendica
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
  */
 
 use Friendica\App;
 use Friendica\Content\Feature;
 use Friendica\Core\Hook;
-use Friendica\Core\L10n;
 use Friendica\Core\Renderer;
 use Friendica\Database\DBA;
 use Friendica\DI;
@@ -71,6 +86,7 @@ function editpost_content(App $a)
                '$return_path' => '/display/' . $item['guid'],
                '$action' => 'item',
                '$share' => DI::l10n()->t('Save'),
+               '$loading' => DI::l10n()->t('Loading...'),
                '$upload' => DI::l10n()->t('Upload photo'),
                '$shortupload' => DI::l10n()->t('upload photo'),
                '$attach' => DI::l10n()->t('Attach file'),