Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/edge' into edge
Browse files Browse the repository at this point in the history
  • Loading branch information
math-GH committed Apr 21, 2024
2 parents 66976e9 + 90fbb52 commit c571d88
Show file tree
Hide file tree
Showing 47 changed files with 628 additions and 611 deletions.
1 change: 1 addition & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ People are sorted by name so please keep this order.
* [Patrick Crandol](https://github.com/pattems): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:pattems)
* [Paulius Šukys](https://github.com/psukys): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:psukys), [Web](http://sukys.eu)
* [Paweł Kalemba](https://github.com/pkalemba): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:pkalemba)
* [PedroPMS](https://github.com/PedroPMS): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:PedroPMS)
* [perrinjerome](https://github.com/perrinjerome): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:perrinjerome)
* [Peter Stoinov](https://github.com/stoinov): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:stoinov), [Web](https://stoinov.com)
* [Petra Lamborn](https://github.com/petraoleum): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:petraoleum), [Web](https://petras.space)
Expand Down
2 changes: 2 additions & 0 deletions app/Controllers/userController.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,10 @@ public static function deleteUser(string $username): bool {
$ok &= is_dir($user_data);
if ($ok) {
FreshRSS_fever_Util::deleteKey($username);
Minz_ModelPdo::$usesSharedPdo = false;
$oldUserDAO = FreshRSS_Factory::createUserDao($username);
$ok &= $oldUserDAO->deleteUser();
Minz_ModelPdo::$usesSharedPdo = true;
$ok &= recursive_unlink($user_data);
$filenames = glob(PSHB_PATH . '/feeds/*/' . $username . '.txt');
if (!empty($filenames)) {
Expand Down
1 change: 1 addition & 0 deletions app/Models/UserDAO.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public function deleteUser(): bool {
$ok = $this->pdo->exec($GLOBALS['SQL_DROP_TABLES']) !== false;

if ($ok) {
$this->close();
return true;
} else {
$info = $this->pdo->errorInfo();
Expand Down
32 changes: 16 additions & 16 deletions app/i18n/cz/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
'http' => 'HTTP (pro pokročilé uživatele s HTTPS)',
'none' => 'Žádný (nebezpečné)',
'title' => 'Ověřování',
'token' => 'Master authentication token', // TODO
'token_help' => 'Allows access to all RSS outputs of the user as well as refreshing feeds without authentication:', // TODO
'token' => 'Hlavní ověřovací token',
'token_help' => 'Umožňuje přístup ke všem výstupům RSS uživatele i obnovování kanálů bez ověřování:',
'type' => 'Metoda ověřování',
'unsafe_autologin' => 'Povolit nebezpečné automatické přihlášení pomocí formátu: ',
),
Expand Down Expand Up @@ -160,8 +160,8 @@
'_' => 'Nastavení systému',
'auto-update-url' => 'Adresa URL serveru pro automatické aktualizace',
'base-url' => array(
'_' => 'Base URL', // TODO
'recommendation' => 'Automatic recommendation: <kbd>%s</kbd>', // TODO
'_' => 'Základní adresa URL',
'recommendation' => 'Automatické doporučení: <kbd>%s</kbd>',
),
'cookie-duration' => array(
'help' => 'v sekundách',
Expand All @@ -187,33 +187,33 @@
),
'title' => 'Registrační formulář uživatele',
),
'sensitive-parameter' => 'Sensitive parameter. Edit manually in <kbd>./data/config.php</kbd>', // TODO
'sensitive-parameter' => 'Citlivý parametr. Upravte ručně v souboru <kbd>./data/config.php</kbd>',
'tos' => array(
'disabled' => 'is not given', // TODO
'enabled' => '<a href="./?a=tos">is enabled</a>', // TODO
'help' => 'How to <a href="https://freshrss.github.io/FreshRSS/en/admins/12_User_management.html#enable-terms-of-service-tos" target="_blank">enable the Terms of Service</a>', // TODO
'disabled' => 'není uveden',
'enabled' => '<a href="./?a=tos">je povolen</a>',
'help' => 'Jak povolit <a href="https://freshrss.github.io/FreshRSS/en/admins/12_User_management.html#enable-terms-of-service-tos" target="_blank">podmínky poskytování služby</a>',
),
'websub' => array(
'help' => 'About <a href="https://freshrss.github.io/FreshRSS/en/users/WebSub.html" target="_blank">WebSub</a>', // TODO
'help' => 'O <a href="https://freshrss.github.io/FreshRSS/en/users/WebSub.html" target="_blank">WebSub</a>',
),
),
'update' => array(
'_' => 'Aktualizace systému',
'apply' => 'Použít',
'changelog' => 'Changelog', // TODO
'changelog' => 'Seznam změn',
'check' => 'Zkontrolovat aktualizace',
'copiedFromURL' => 'update.php copied from %s to ./data', // TODO
'copiedFromURL' => 'update.php zkopírováno z %s do ./data',
'current_version' => 'Vaše aktuální verze',
'last' => 'Poslední kontrola',
'loading' => 'Updating…', // TODO
'loading' => 'Aktualizuje se...',
'none' => 'Žádné nové aktualizace',
'releaseChannel' => array(
'_' => 'Release channel', // TODO
'edge' => 'Rolling release (“edge”)', // TODO
'latest' => 'Stable release (“latest”)', // TODO
'_' => 'Kanál pro vydání',
'edge' => 'Vydání "Rolling" / Nepřetržitě aktualizované vydání (“edge”)',
'latest' => 'Stabilní vydání (“latest”)',
),
'title' => 'Aktualizovat systém',
'viaGit' => 'Update via git and Github.com started', // TODO
'viaGit' => 'Aktualizace přes git a Github.com začala',
),
'user' => array(
'admin' => 'Administrátor',
Expand Down
48 changes: 24 additions & 24 deletions app/i18n/cz/conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
'display' => array(
'_' => 'Zobrazení',
'darkMode' => array(
'_' => 'Automatic dark mode (beta)', // TODO
'auto' => 'Auto', // TODO
'no' => 'No', // TODO
'_' => 'Automatický tmavý režim (beta)',
'auto' => 'Automatický',
'no' => 'Ne',
),
'icon' => array(
'bottom_line' => 'Spodní řádek',
Expand All @@ -56,8 +56,8 @@
'theme' => array(
'_' => 'Motiv',
'deprecated' => array(
'_' => 'Deprecated', // TODO
'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
'_' => 'Zastaralý',
'description' => 'Tento motiv již není podporován a v <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">budoucí verzi FreshRSS</a> již nebude dostupný.',
),
),
'theme_not_available' => 'Motiv „%s“ již není dostupný. Zvolte jiný motiv, prosím.',
Expand All @@ -68,14 +68,14 @@
'portrait' => 'Na výšku',
'square' => 'Čtverec',
),
'timezone' => 'Time zone', // TODO
'timezone' => 'Časové pásmo',
'title' => 'Zobrazení',
'website' => array(
'full' => 'Icon and name', // TODO
'icon' => 'Icon only', // TODO
'label' => 'Website', // TODO
'name' => 'Name only', // TODO
'none' => 'None', // TODO
'full' => 'Ikona a název',
'icon' => 'Pouze ikona',
'label' => 'Webová stránka',
'name' => 'Pouze název',
'none' => 'Žádné',
),
'width' => array(
'content' => 'Šířka obsahu',
Expand Down Expand Up @@ -120,32 +120,32 @@
'feeds' => 'Zobrazit podle kanálu',
'order' => 'Seřadit podle data',
'search' => 'Výraz',
'shareOpml' => 'Enable sharing by OPML of corresponding categories and feeds', // TODO
'shareRss' => 'Enable sharing by HTML &amp; RSS', // TODO
'shareOpml' => 'Povolit sdílení příslušných kategorií a kanálů pomocí OPML',
'shareRss' => 'Povolit sdílení pomocí HTML &amp; RSS',
'state' => 'Stav',
'tags' => 'Zobrazit podle štítku',
'type' => 'Typ',
),
'get_all' => 'Zobrazit všechny články',
'get_all_labels' => 'Display articles with any label', // TODO
'get_all_labels' => 'Zobrazit články s libovolným štítkem',
'get_category' => 'Zobrazit kategorii „%s“',
'get_favorite' => 'Zobrazit oblíbené články',
'get_feed' => 'Zobrazit kanál „%s“',
'get_important' => 'Display articles from important feeds', // TODO
'get_label' => 'Display articles with “%s” label', // TODO
'help' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/user_queries.html" target="_blank">documentation for user queries and resharing by HTML / RSS / OPML</a>.', // TODO
'get_important' => 'Zobrazit články z důležitých kanálů',
'get_label' => 'Zobrazit články se štítkem “%s”',
'help' => 'Viz <a href="https://freshrss.github.io/FreshRSS/en/users/user_queries.html" target="_blank">dokumentace pro uživatelské dotazy a další sdílení pomocí HTML / RSS / OPML</a>.',
'name' => 'Název',
'no_filter' => 'Žádný filtr',
'number' => 'Dotaz č. %d',
'order_asc' => 'Zobrazit nejdříve nejstarší články',
'order_desc' => 'Zobrazit nejdříve nejnovější články',
'search' => 'Hledat „%s“',
'share' => array(
'_' => 'Share this query by link', // TODO
'help' => 'Give this link if you want to share this query with anyone', // TODO
'html' => 'Shareable link to the HTML page', // TODO
'opml' => 'Shareable link to the OPML list of feeds', // TODO
'rss' => 'Shareable link to the RSS feed', // TODO
'_' => 'Sdílet tento dotaz pomocí odkazu',
'help' => 'Pokud chcete tento dotaz s někým sdílet, uveďte tento odkaz.',
'html' => 'Odkaz na stránku HTML, který lze sdílet',
'opml' => 'Odkaz na seznam kanálů OPML, který lze sdílet',
'rss' => 'Odkaz na kanál RSS, který lze sdílet',
),
'state_0' => 'Zobrazit všechny články',
'state_1' => 'Zobrazit přečtené články',
Expand Down Expand Up @@ -217,9 +217,9 @@
'read' => array(
'article_open_on_website' => 'když je článek otevřen na své původní webové stránce',
'article_viewed' => 'když je článek zobrazen',
'focus' => 'when focused (except for important feeds)', // TODO
'focus' => 'při zaměření (kromě důležitých kanálů)',
'keep_max_n_unread' => 'Maximální počet článků, které ponechat jako nepřečtené',
'scroll' => 'během posouvání (except for important feeds)', // DIRTY
'scroll' => 'během posouvání (kromě důležitých kanálů)', // DIRTY
'upon_gone' => 'když se již nenachází v upstreamu zpráv.',
'upon_reception' => 'po obdržení článku',
'when' => 'Označit článek jako přečtený…',
Expand Down
4 changes: 2 additions & 2 deletions app/i18n/cz/feedback.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@
),
'tag' => array(
'created' => 'Štítek „%s“ byl vytvořen.',
'error' => 'Label could not be updated!', // TODO
'error' => 'Štítek se nepodařilo aktualizovat!',
'name_exists' => 'Název štítku již existuje.',
'renamed' => 'Štítek „%s“ byl přejmenován na „%s“.',
'updated' => 'Label has been updated.', // TODO
'updated' => 'Štítek byl aktualizován.',
),
'update' => array(
'can_apply' => 'FreshRSS bude nyní aktualizováno na <strong>verzi %s</strong>.',
Expand Down
6 changes: 3 additions & 3 deletions app/i18n/cz/gen.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
'request_failed' => 'Požadavek selhal, to může být způsobeno problémy s připojení k internetu.',
'title_new_articles' => 'FreshRSS: nové články!',
),
'labels_empty' => 'No labels', // TODO
'labels_empty' => 'Žádné štítky',
'new_article' => 'Jsou dostupné nové články, klikněte pro obnovení stránky.',
'should_be_activated' => 'JavaScript musí být povolen',
),
Expand Down Expand Up @@ -178,7 +178,7 @@
'queries' => 'Uživatelské dotazy',
'reading' => 'Čtení',
'search' => 'Hledat slova nebo #štítky',
'search_help' => 'See documentation for advanced <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">search parameters</a>', // TODO
'search_help' => 'Podívejte se na dokumentaci pro pokročilé parametry <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">parametry vyhledávání</a>',
'sharing' => 'Sdílení',
'shortcuts' => 'Zkratky',
'stats' => 'Statistika',
Expand All @@ -203,7 +203,7 @@
'clipboard' => 'Schránka',
'diaspora' => 'Diaspora*', // IGNORE
'email' => 'E-mail',
'email-webmail-firefox-fix' => 'Email (webmail - fix for Firefox)', // TODO
'email-webmail-firefox-fix' => 'E-mail (webmail - oprava pro Firefox)',
'facebook' => 'Facebook', // IGNORE
'gnusocial' => 'GNU social', // IGNORE
'jdh' => 'Journal du hacker', // IGNORE
Expand Down
4 changes: 2 additions & 2 deletions app/i18n/cz/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'bugs_reports' => 'Hlášení chyb',
'credits' => 'Poděkování',
'credits_content' => 'Některé designové prvky pocházejí z <a href="http://twitter.github.io/bootstrap/">Bootstrap</a>, FreshRSS ale tuto platformu nevyužívá. <a href="https://gitlab.gnome.org/Archive/gnome-icon-theme-symbolic">Ikony</a> pocházejí z <a href="https://www.gnome.org/">projektu GNOME</a>. Písmo <em>Open Sans</em> vytvořil <a href="https://fonts.google.com/specimen/Open+Sans">Steve Matteson</a>. FreshRSS je založeno na PHP framework <a href="https://framagit.org/marienfressinaud/MINZ">Minz</a>.',
'documentation' => 'Documentation', // TODO
'documentation' => 'Dokumentace',
'freshrss_description' => 'FreshRSS je čtečka kanálů RSS určená k provozu na vlastním serveru. Je to nenáročný a jednoduchý, zároveň ale mocný a konfigurovatelný nástroj.',
'github' => '<a href="https://github.com/FreshRSS/FreshRSS/issues">na Github</a>',
'license' => 'Licence',
Expand Down Expand Up @@ -45,7 +45,7 @@
'bookmark_query' => 'Uložit aktuální dotaz do záložek',
'favorites' => 'Oblíbené (%s)',
'global_view' => 'Zobrazení přehledu',
'important' => 'Important feeds', // TODO
'important' => 'Důležité kanály',
'main_stream' => 'Hlavní kanál',
'mark_all_read' => 'Označit vše jako přečtené',
'mark_cat_read' => 'Označit kategorii jako přečtenou',
Expand Down
Loading

0 comments on commit c571d88

Please sign in to comment.