|
| 1 | +<?php |
| 2 | +/** |
| 3 | + * |
| 4 | + * phpBB Browser Push Notifications. An extension for the phpBB Forum Software package. |
| 5 | + * |
| 6 | + * @copyright (c) 2024, phpBB Limited <https://www.phpbb.com> |
| 7 | + * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | + * |
| 9 | + */ |
| 10 | + |
| 11 | +/** |
| 12 | + * DO NOT CHANGE |
| 13 | + */ |
| 14 | +if (!defined('IN_PHPBB')) |
| 15 | +{ |
| 16 | + exit; |
| 17 | +} |
| 18 | + |
| 19 | +if (empty($lang) || !is_array($lang)) |
| 20 | +{ |
| 21 | + $lang = []; |
| 22 | +} |
| 23 | + |
| 24 | +// DEVELOPERS PLEASE NOTE |
| 25 | +// |
| 26 | +// All language files should use UTF-8 as their encoding and the files must not contain a BOM. |
| 27 | +// |
| 28 | +// Placeholders can now contain order information, e.g. instead of |
| 29 | +// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows |
| 30 | +// translators to re-order the output of data while ensuring it remains correct |
| 31 | +// |
| 32 | +// You do not need this where single placeholders are used, e.g. 'Message %d' is fine |
| 33 | +// equally where a string contains only two placeholders which are used to wrap text |
| 34 | +// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine |
| 35 | +// |
| 36 | +// Some characters you may want to copy&paste: |
| 37 | +// ’ » “ ” … |
| 38 | +// |
| 39 | + |
| 40 | +$lang = array_merge($lang, [ |
| 41 | + 'PWA_SETTINGS' => 'Web application options', |
| 42 | + 'PWA_SHORT_NAME' => 'Short site name', |
| 43 | + 'PWA_SHORT_NAME_EXPLAIN' => 'Your site name in 12 characters or less, which may be used as a label for an icon on a mobile device’s home screen.', |
| 44 | + 'PWA_ICON_SMALL' => 'Small mobile device icon', |
| 45 | + 'PWA_ICON_SMALL_EXPLAIN' => 'File name of a 192x192 PNG image. This file must be uploaded to your <samp>icons</samp> directory, i.e.: <samp>./images/icons</samp>', |
| 46 | + 'PWA_ICON_LARGE' => 'Large mobile device icon', |
| 47 | + 'PWA_ICON_LARGE_EXPLAIN' => 'File name of a 512x512 PNG image. This file must be uploaded to your <samp>icons</samp> directory, i.e.: <samp>./images/icons</samp>', |
| 48 | +]); |
0 commit comments