aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IL10N.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IL10N.php')
-rw-r--r--lib/public/IL10N.php39
1 files changed, 5 insertions, 34 deletions
diff --git a/lib/public/IL10N.php b/lib/public/IL10N.php
index 0aba11e1322..9f7dedc5ff2 100644
--- a/lib/public/IL10N.php
+++ b/lib/public/IL10N.php
@@ -1,42 +1,13 @@
<?php
declare(strict_types=1);
-
-/**
- * @copyright Copyright (c) 2016, ownCloud, Inc.
- *
- * @author Bart Visscher <bartv@thisnet.nl>
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
- * @author Georg Ehrke <oc.list@georgehrke.com>
- * @author Joas Schilling <coding@schilljs.com>
- * @author Morris Jobke <hey@morrisjobke.de>
- * @author Roeland Jago Douma <roeland@famdouma.nl>
- * @author Thomas Citharel <nextcloud@tcit.fr>
- *
- * @license AGPL-3.0
- *
- * This code is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * 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, version 3,
- * along with this program. If not, see <http://www.gnu.org/licenses/>
- *
- */
-
/**
- * Public interface of ownCloud for apps to use.
- * L10n interface
- *
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
*/
-
// use OCP namespace for all classes that are considered public.
-// This means that they should be used by apps instead of the internal ownCloud classes
+// This means that they should be used by apps instead of the internal Nextcloud classes
namespace OCP;
@@ -81,7 +52,7 @@ interface IL10N {
* @param string $type Type of localization
* @param \DateTime|int|string $data parameters for this localization
* @param array $options currently supports following options:
- * - 'width': handed into \Punic\Calendar::formatDate as second parameter
+ * - 'width': handed into \Punic\Calendar::formatDate as second parameter
* @return string|int|false
*
* Returns the localized data.