libreqr/locales/template.php
vdbhb59 1df83b89a1 Add QR code type "Wifi" + handle every request in index.php (#27)
QR codes types can now be chosen between the default text mode and the Wifi mode.

The WiFi form is on a dedicated page, and that has been implemented by managing every HTTP request from index.php

For more information about the format used for Wifi QR codes check https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-network-config-android-ios-11

Co-authored-by: Miraty <miraty+git@antopie.org>
Reviewed-on: #27 (https://code.antopie.org/miraty/libreqr/issues/27)
Reviewed-by: Miraty <miraty@noreply.code.antopie.org>
Co-authored-by: Denise <denisebitca@42l.fr>
Co-committed-by: Denise <denisebitca@42l.fr>

e4491752f2
2025-09-07 17:17:32 +05:30

46 lines
No EOL
1.4 KiB
PHP

<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
$loc = array(
'subtitle' => "subtitle",
'description' => "description",
'tab_text' => "tab_text",
'tab_wifi' => "tab_wifi",
'tab_wifi_title' => "tab_wifi_title",
'label_wifi_ssid' => "label_wifi_ssid",
'label_wifi_password' => "label_wifi_password",
'label_content' => "label_content",
'label_redundancy' => "label_redundancy",
'label_margin' => "label_margin",
'label_size' => "label_size",
'label_bgColor' => "label_bgColor",
'label_fgColor' => "label_fgColor",
'placeholder' => "placeholder",
'placeholder_wifi_ssid' => "placeholder_wifi_ssid",
'placeholder_wifi_password' => "placeholder_wifi_password",
'help_wifi_password' => "help_wifi_password",
'help_content' => "help_content",
'help_redundancy' => "help_redundancy",
'help_margin' => "help_margin",
'help_size' => "help_size",
'button_create' => "button_create",
'button_download' => "button_download",
'button_edit' => "button_edit",
'title_showOnlyQR' => "title_showOnlyQR",
'alt_QR_before' => "alt_QR_before",
'alt_QR_after' => "alt_QR_after",
'wifi_raw_content_before' => "wifi_raw_content_before",
'wifi_raw_content_after' => "wifi_raw_content_after",
'metaText_qr' => "metaText_qr",
'metaText_legal' => "metaText_legal",
'error_generation' => "error_generation",
'error_404' => "error_404",
);