mirror of
https://git.bakhai.co.in/FbIN/libreqr.git
synced 2026-04-17 08:25:52 +05:30
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)
41 lines
No EOL
1.9 KiB
PHP
41 lines
No EOL
1.9 KiB
PHP
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
|
|
|
|
$loc = [
|
|
'subtitle' => "QR Code Generator",
|
|
'description' => "Create QR codes for free. Choose content, size, colors…",
|
|
'label_content' => "Text to be coded",
|
|
'label_redundancy' => "Redundancy level",
|
|
'label_margin' => "margin size",
|
|
'label_size' => "Image size",
|
|
'label_bgColor' => "background color",
|
|
'label_fgColor' => "foreground color",
|
|
'placeholder' => "Enter the text you want to encode in the QR code",
|
|
'help_content' => "
|
|
<p>You can encode any text you want.</p>
|
|
Software that decodes these QR codes may suggest opening them with special software, depending on the URI scheme.
|
|
<p>For example, to open a website: <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 degree produces a larger QR code, but has a better chance of being decoded correctly."
|
|
'help_margin' => "Width of the border around the QR code in pixels."
|
|
'help_size' => "Image width and height in pixels, excluding the border."
|
|
'button_create' => "Create",
|
|
'button_download' => "Save this QR code",
|
|
'title_showOnlyQR' => "Show only this QR code",
|
|
'alt_QR_before' => 'QR code with the meaning "',
|
|
'alt_QR_after' => '"',
|
|
'error_generation' => "An error occurred while generating the QR code. Try different parameters."
|
|
'label_wifi_password' => "",
|
|
'button_edit' => "",
|
|
'tab_wifi' => "",
|
|
'tab_wifi_title' => "",
|
|
'placeholder_wifi_ssid' => "",
|
|
'wifi_raw_content_after' => "",
|
|
'help_wifi_password' => "",
|
|
'wifi_raw_content_before' => "",
|
|
'placeholder_wifi_password' => "",
|
|
'label_wifi_ssid' => "",
|
|
'error_404' => "",
|
|
'tab_text' => "",
|
|
]; |