libreqr/locales/en.php
vdbhb59 77f048085b Synced + few of my changes
Drop Less support: The style.less and themes/libreqr/theme.php files are converted to plain CSS.

The main Less features used in LibreQR were variables and selector nesting, but since CSS custom properties and nesting are now widely supported across browsers, the less.php dependency can be ditched.

To read the background color for contrast improvement, a regex is used on the theme CSS file.

(5468a43a2f)

Format locales according to Weblate

(f3e2249a84)

Estonian Translation (eb0ea03857)

doc: Add link to Weblate + enhance markup

(49394ebd9b)
2025-11-29 21:56:41 +05:30

41 lines
No EOL
2.2 KiB
PHP

<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
$loc = [
'subtitle' => "",
'description' => "Generate QR codes freely. Choose content, size, colors…",
'tab_text' => "Text",
'tab_wifi' => "Wifi",
'tab_wifi_title' => "Wifi QR codes generation",
'label_wifi_ssid' => "Network name / SSID",
'label_wifi_password' => "Password",
'label_content' => "Text to encode",
'label_redundancy' => "Redundancy rate",
'label_margin' => "Margin size",
'label_size' => "Image size",
'label_bgColor' => "Background color",
'label_fgColor' => "Foreground color",
'placeholder' => "Enter the text to encode in the QR code",
'placeholder_wifi_ssid' => "Box-A31B",
'placeholder_wifi_password' => "correct horse battery staple",
'help_wifi_password' => "The WPA, WPA2 or WPA3 key. Leave empty if it's an open network.",
'help_content' => "
<p>You can encode whatever text you want.</p>
<p>Software decoding these QR codes could suggest to open them with dedicated software, depending on their <a href='https://en.wikipedia.org/wiki/List_of_URI_schemes' hreflang='en' rel='help external noreferrer'>URI scheme</a>.</p>
<p>For instance, to open a webpage: <code>https://www.example/</code></p>
<p>To send an email: <code>mailto:contact@email.example</code></p>
<p>To share geographic coordinates: <code>geo:48.867564,2.364057</code></p>
",
'help_redundancy' => "Redundancy is the duplication of information in the QR code to correct errors during decoding. A higher rate will produce a bigger QR code, but will have a better chance of being decoded correctly.",
'help_margin' => "Number of pixels in each white band around the QR code.",
'help_size' => "Image width and height in pixels, without the margin.",
'button_create' => "Generate",
'button_download' => "Save this QR code",
'button_edit' => "Edit",
'title_showOnlyQR' => "Show this QR code only",
'alt_QR_before' => 'QR code meaning "',
'alt_QR_after' => '"',
'wifi_raw_content_before' => "This QR code contains: ",
'wifi_raw_content_after' => "",
'error_generation' => "An error occurred while generating the QR code. Try with different parameters.",
'error_404' => "This page doesn't exist.",
];