Compare commits
8 Commits
8f45736b1b
...
dev-main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5c2e08f03 | ||
|
|
42d4f44a70 | ||
|
|
1a5b07273d | ||
|
|
64d2ff3e98 | ||
|
|
85a0d4f9ec | ||
|
|
84c7b31dfb | ||
| 1499347b7b | |||
| 1d39bc03d8 |
@@ -1,4 +1,13 @@
|
|||||||
CREATE TABLE ident_switch
|
-- Patched version of SQL/postgres.initial.sql for gecka/ident-switch.
|
||||||
|
-- Commit this into your Gitea fork at the same path, replacing the
|
||||||
|
-- upstream file. Only two changes from upstream:
|
||||||
|
-- 1. CREATE TABLE / CREATE INDEX -> IF NOT EXISTS
|
||||||
|
-- 2. INSERT INTO system -> upsert via ON CONFLICT
|
||||||
|
-- This makes the script safe to re-run against an already-migrated
|
||||||
|
-- database, which happens on every container restart unless
|
||||||
|
-- /var/www/html is persisted (composer re-installs "fresh" each time).
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS ident_switch
|
||||||
(
|
(
|
||||||
id
|
id
|
||||||
serial
|
serial
|
||||||
@@ -82,8 +91,9 @@ CREATE TABLE ident_switch
|
|||||||
UNIQUE (user_id, label)
|
UNIQUE (user_id, label)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE INDEX IX_ident_switch_user_id ON ident_switch(user_id);
|
CREATE INDEX IF NOT EXISTS IX_ident_switch_user_id ON ident_switch(user_id);
|
||||||
CREATE INDEX IX_ident_switch_iid ON ident_switch(iid);
|
CREATE INDEX IF NOT EXISTS IX_ident_switch_iid ON ident_switch(iid);
|
||||||
CREATE INDEX IX_ident_switch_parent_id ON ident_switch(parent_id);
|
CREATE INDEX IF NOT EXISTS IX_ident_switch_parent_id ON ident_switch(parent_id);
|
||||||
|
|
||||||
INSERT INTO system (name, value) VALUES ('ident_switch-version', '2026021000');
|
INSERT INTO system (name, value) VALUES ('ident_switch-version', '2026021000')
|
||||||
|
ON CONFLICT (name) DO UPDATE SET value = EXCLUDED.value;
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "gecka/ident-switch",
|
"name": "senior/ident-switch",
|
||||||
"type": "roundcube-plugin",
|
"type": "roundcube-plugin",
|
||||||
"description": "This plugin allows users to switch between different accounts (including remote) in single Roundcube session.",
|
"description": "This plugin allows users to switch between different accounts (including remote) in single Roundcube session.",
|
||||||
"homepage": "https://github.com/Gecka-Apps/roundcube-ident_switch",
|
"homepage": "https://github.com/Gecka-Apps/roundcube-ident_switch",
|
||||||
|
|||||||
@@ -98,4 +98,4 @@ $config['ident_switch.preconfig_only'] = false;
|
|||||||
* Useful for troubleshooting SMTP/Sieve routing and alias resolution.
|
* Useful for troubleshooting SMTP/Sieve routing and alias resolution.
|
||||||
* Default: false.
|
* Default: false.
|
||||||
*/
|
*/
|
||||||
$config['ident_switch.debug'] = false;
|
$config['ident_switch.debug'] = true;
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
* ident_switch - Account switcher UI and new mail notifications.
|
* ident_switch - Account switcher UI and new mail notifications.
|
||||||
*
|
*
|
||||||
* Places the hidden <select> from the footer into the appropriate
|
* Places the hidden <select> from the footer into the appropriate
|
||||||
* skin location (Larry, Classic, Elastic), shows it, and registers
|
* skin location (Larry, Classic, Elastic, Workbench), shows it, and registers
|
||||||
* notification listeners for background mail checking.
|
* notification listeners for background mail checking.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016-2018 Boris Gulay
|
* Copyright (C) 2016-2018 Boris Gulay
|
||||||
@@ -22,7 +22,6 @@ $(function() {
|
|||||||
|
|
||||||
var $sw = $wrapper.find('#plugin-ident_switch-account');
|
var $sw = $wrapper.find('#plugin-ident_switch-account');
|
||||||
var placed = false;
|
var placed = false;
|
||||||
|
|
||||||
switch (rcmail.env.skin) {
|
switch (rcmail.env.skin) {
|
||||||
case 'larry':
|
case 'larry':
|
||||||
placed = plugin_switchIdent_addCbLarry($wrapper, $sw);
|
placed = plugin_switchIdent_addCbLarry($wrapper, $sw);
|
||||||
@@ -33,6 +32,9 @@ $(function() {
|
|||||||
case 'elastic':
|
case 'elastic':
|
||||||
placed = plugin_switchIdent_addCbElastic($wrapper, $sw);
|
placed = plugin_switchIdent_addCbElastic($wrapper, $sw);
|
||||||
break;
|
break;
|
||||||
|
case 'workbench':
|
||||||
|
placed = plugin_switchIdent_addCbElastic($wrapper, $sw);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!placed) {
|
if (!placed) {
|
||||||
|
|||||||
172
localization/sk_SK.inc
Normal file
172
localization/sk_SK.inc
Normal file
@@ -0,0 +1,172 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Lokalizačný súbor pre plugin ident_switch
|
||||||
|
*/
|
||||||
|
$labels = array();
|
||||||
|
|
||||||
|
// Samostatný účet
|
||||||
|
$labels['form.caption'] = 'Samostatný účet';
|
||||||
|
$labels['form.description'] = 'Nakonfigurujte túto identitu ako samostatný účet s vlastnými pripojeniami na poštový server.';
|
||||||
|
$labels['form.preconfig_only_warning'] = 'Konfigurácia samostatného účtu nie je dostupná pre doménu %s.';
|
||||||
|
|
||||||
|
// Všeobecné
|
||||||
|
$labels['form.common.general'] = 'Všeobecné';
|
||||||
|
|
||||||
|
// Režim účtu
|
||||||
|
$labels['form.common.mode'] = 'Režim účtu';
|
||||||
|
$labels['form.common.mode.primary'] = 'Hlavný účet';
|
||||||
|
$labels['form.common.mode.separate'] = 'Samostatný účet';
|
||||||
|
$labels['form.common.mode.hint'] = 'Prepojte túto identitu s existujúcim účtom alebo ju nakonfigurujte ako samostatný účet s vlastným poštovým serverom.';
|
||||||
|
|
||||||
|
// Názov
|
||||||
|
$labels['form.common.label'] = 'Názov';
|
||||||
|
$labels['form.common.label.hint'] = 'Názov zobrazený v prepínači účtov. Ak je prázdne, použije sa e-mailová adresa.';
|
||||||
|
|
||||||
|
// Hodnota v poli 'Názov' je príliš dlhá (max. 32 znakov).
|
||||||
|
$labels['err.label.long'] = 'Hodnota v poli \'Názov\' je príliš dlhá (max. 32 znakov).';
|
||||||
|
|
||||||
|
|
||||||
|
// IMAP
|
||||||
|
$labels['form.imap.caption'] = 'IMAP';
|
||||||
|
|
||||||
|
// Server prichádzajúcej pošty
|
||||||
|
$labels['form.imap.host'] = 'Server prichádzajúcej pošty';
|
||||||
|
|
||||||
|
// Zabezpečenie
|
||||||
|
$labels['form.imap.security'] = 'Zabezpečenie';
|
||||||
|
|
||||||
|
// Port
|
||||||
|
$labels['form.imap.port'] = 'Port';
|
||||||
|
|
||||||
|
// Oddeľovač hierarchie priečinkov
|
||||||
|
$labels['form.imap.delimiter'] = 'Oddeľovač hierarchie priečinkov';
|
||||||
|
$labels['form.imap.delimiter.auto'] = 'Automaticky';
|
||||||
|
$labels['form.imap.delimiter.manual'] = 'Manuálne';
|
||||||
|
|
||||||
|
// Používateľské meno
|
||||||
|
$labels['form.imap.username'] = 'Používateľské meno';
|
||||||
|
|
||||||
|
// Heslo
|
||||||
|
$labels['form.imap.password'] = 'Heslo';
|
||||||
|
|
||||||
|
// Hodnota v poli 'Používateľské meno' je príliš dlhá (max. 64 znakov).
|
||||||
|
$labels['err.user.long'] = 'Hodnota v poli \'Používateľské meno\' je príliš dlhá (max. 64 znakov).';
|
||||||
|
|
||||||
|
|
||||||
|
// SMTP
|
||||||
|
$labels['form.smtp.caption'] = 'SMTP';
|
||||||
|
|
||||||
|
// Server odchádzajúcej pošty
|
||||||
|
$labels['form.smtp.host'] = 'Server odchádzajúcej pošty';
|
||||||
|
|
||||||
|
// Zabezpečenie
|
||||||
|
$labels['form.smtp.security'] = 'Zabezpečenie';
|
||||||
|
|
||||||
|
// Port
|
||||||
|
$labels['form.smtp.port'] = 'Port';
|
||||||
|
|
||||||
|
// Autorizácia
|
||||||
|
$labels['form.smtp.auth'] = 'Autorizácia';
|
||||||
|
|
||||||
|
// Ako IMAP
|
||||||
|
$labels['form.smtp.auth.imap'] = 'Ako IMAP';
|
||||||
|
|
||||||
|
// Žiadna
|
||||||
|
$labels['form.smtp.auth.none'] = 'Žiadna';
|
||||||
|
|
||||||
|
// Vlastná
|
||||||
|
$labels['form.smtp.auth.custom'] = 'Vlastná';
|
||||||
|
|
||||||
|
// Používateľské meno
|
||||||
|
$labels['form.smtp.username'] = 'Používateľské meno';
|
||||||
|
|
||||||
|
// Heslo
|
||||||
|
$labels['form.smtp.password'] = 'Heslo';
|
||||||
|
|
||||||
|
|
||||||
|
// Sieve
|
||||||
|
$labels['form.sieve.caption'] = 'Sieve';
|
||||||
|
|
||||||
|
// Názov hostiteľa servera
|
||||||
|
$labels['form.sieve.host'] = 'Názov hostiteľa servera';
|
||||||
|
|
||||||
|
// Zabezpečenie
|
||||||
|
$labels['form.sieve.security'] = 'Zabezpečenie';
|
||||||
|
|
||||||
|
// Port
|
||||||
|
$labels['form.sieve.port'] = 'Port';
|
||||||
|
|
||||||
|
// Autorizácia
|
||||||
|
$labels['form.sieve.auth'] = 'Autorizácia';
|
||||||
|
|
||||||
|
// Ako IMAP
|
||||||
|
$labels['form.sieve.auth.imap'] = 'Ako IMAP';
|
||||||
|
|
||||||
|
// Žiadna
|
||||||
|
$labels['form.sieve.auth.none'] = 'Žiadna';
|
||||||
|
|
||||||
|
// Vlastná
|
||||||
|
$labels['form.sieve.auth.custom'] = 'Vlastná';
|
||||||
|
|
||||||
|
// Používateľské meno
|
||||||
|
$labels['form.sieve.username'] = 'Používateľské meno';
|
||||||
|
|
||||||
|
// Heslo
|
||||||
|
$labels['form.sieve.password'] = 'Heslo';
|
||||||
|
|
||||||
|
|
||||||
|
// Upozornenia
|
||||||
|
$labels['form.notify.caption'] = 'Upozornenia';
|
||||||
|
|
||||||
|
// Kontrolovať novú poštu
|
||||||
|
$labels['form.notify.check'] = 'Kontrolovať novú poštu';
|
||||||
|
|
||||||
|
// Fokus / favicon
|
||||||
|
$labels['form.notify.basic'] = 'Fokus / favicon';
|
||||||
|
|
||||||
|
// Zvuk
|
||||||
|
$labels['form.notify.sound'] = 'Zvuk';
|
||||||
|
|
||||||
|
// Upozornenie na ploche
|
||||||
|
$labels['form.notify.desktop'] = 'Upozornenie na ploche';
|
||||||
|
|
||||||
|
|
||||||
|
// Použiť predvolené
|
||||||
|
$labels['form.notify.default'] = 'predvolené';
|
||||||
|
|
||||||
|
// Zapnuté
|
||||||
|
$labels['form.notify.on'] = 'Zapnuté';
|
||||||
|
|
||||||
|
// Vypnuté
|
||||||
|
$labels['form.notify.off'] = 'Vypnuté';
|
||||||
|
|
||||||
|
// Vyžaduje plugin newmail_notifier
|
||||||
|
$labels['form.notify.requires_newmail_notifier'] = 'Upozornenia vyžadujú plugin newmail_notifier. Prosím, povoľte ho alebo kontaktujte administrátora.';
|
||||||
|
|
||||||
|
|
||||||
|
// Možnosti zabezpečenia
|
||||||
|
$labels['form.security.none'] = 'Žiadne';
|
||||||
|
$labels['form.security.starttls'] = 'STARTTLS';
|
||||||
|
$labels['form.security.ssl'] = 'SSL/TLS';
|
||||||
|
$labels['form.security.none_warning'] = 'Nešifrované pripojenia nie sú bezpečné. Vaše prihlasovacie údaje a e-maily môžu byť zachytené. Vždy, keď je to možné, použite SSL/TLS alebo STARTTLS.';
|
||||||
|
|
||||||
|
|
||||||
|
// Chyby
|
||||||
|
|
||||||
|
// Hodnota v poli 'Názov hostiteľa servera' je príliš dlhá (max. 64 znakov).
|
||||||
|
$labels['err.host.long'] = 'Hodnota v poli \'Názov hostiteľa servera\' je príliš dlhá (max. 64 znakov).';
|
||||||
|
|
||||||
|
// Hodnota v poli 'Port' musí byť číslo.
|
||||||
|
$labels['err.port.num'] = 'Hodnota v poli \'Port\' musí byť číslo.';
|
||||||
|
|
||||||
|
// Hodnota v poli 'Port' musí byť medzi 1 a 65535.
|
||||||
|
$labels['err.port.range'] = 'Hodnota v poli \'Port\' musí byť medzi 1 a 65535.';
|
||||||
|
|
||||||
|
// Pripojenie IMAP zlyhalo.
|
||||||
|
$labels['err.imap.connect'] = 'Pripojenie IMAP zlyhalo. Skontrolujte adresu servera, port a prihlasovacie údaje.';
|
||||||
|
|
||||||
|
// Pripojenie SMTP zlyhalo.
|
||||||
|
$labels['err.smtp.connect'] = 'Pripojenie SMTP zlyhalo. Skontrolujte adresu servera, port a prihlasovacie údaje.';
|
||||||
|
|
||||||
|
// Pripojenie Sieve zlyhalo.
|
||||||
|
$labels['err.sieve.connect'] = 'Pripojenie Sieve zlyhalo. Skontrolujte adresu servera, port a prihlasovacie údaje.';
|
||||||
Reference in New Issue
Block a user