]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Merge pull request #8647 from annando/annando/issue8619
[friendica.git] / mod / editpost.php
index 2bbc2f2b61ed9ce5be8f31316262944bf558f8fc..7cccfdb2d40e232c2d44cb0a684bffddd98388a1 100644 (file)
@@ -1,6 +1,22 @@
 <?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;
@@ -70,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'),
@@ -115,6 +132,8 @@ function editpost_content(App $a)
                '$message' => DI::l10n()->t('Message'),
                '$browser' => DI::l10n()->t('Browser'),
                '$shortpermset' => DI::l10n()->t('permissions'),
+
+               '$compose_link_title' => DI::l10n()->t('Open Compose page'),
        ]);
 
        return $o;