ff tweaks - added support for pinch-to-zoom; gnome extenssions tweaks - added zorin onscreen keyboard icon

This commit is contained in:
contact@tiotrom.com
2020-03-08 23:47:14 +01:00
parent 98698ffb13
commit ddda48dca3
207 changed files with 341 additions and 153 deletions

View File

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-12-09 21:12-0300\n"
"PO-Revision-Date: 2017-08-03 08:47+0200\n"
"PO-Revision-Date: 2020-02-23 10:15+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: cs_CZ\n"
@ -20,39 +20,37 @@ msgstr ""
#: src/prefs.js:276
msgid "Add"
msgstr ""
msgstr "Přidat"
#: src/prefs.js:257
msgid "Add Rule"
msgstr ""
msgstr "Přidat pravidlo"
#: src/prefs.js:177
#, fuzzy
msgid "Alert background color"
msgstr "Zvýraznění barvou"
msgstr "Barva pozadí výstrahy"
#: src/prefs.js:207
msgid "Alert even if you set notifications to OFF on user menu (default: OFF)"
msgstr ""
"Bude zvýrazňovat notifikace i když je jejich zobrazování vypnuto (tato "
"funkce je ve výchozím stavu vypnuta)"
"Výstrahy i když je zobrazování upozorňování v uživatelské nabídce vypnuto"
"(výchozí: vypnuto)"
#: src/prefs.js:173
#, fuzzy
msgid "Alert font color"
msgstr "Zvýraznění barvou"
msgstr "Barva písma výstrahy"
#: src/prefs.js:241
msgid "Application"
msgstr ""
msgstr "Aplikace"
#: src/prefs.js:140
msgid "Blacklist"
msgstr ""
msgstr "Seznam vyloučených"
#: src/prefs.js:271
msgid "Blacklist app"
msgstr ""
msgstr "Zařadit aplikaci na seznam vyloučených"
#: src/prefs.js:184
msgid "Blink rate (in ms)"
@ -60,35 +58,33 @@ msgstr "Rychlost blikání (v ms)"
#: src/prefs.js:281
msgid "Choose an application to blacklist:"
msgstr ""
msgstr "Zvolte aplikaci pro zařazení na seznam vyloučených:"
#: src/prefs.js:123
msgid "Filter List"
msgstr ""
msgstr "Seznam filtru"
#: src/prefs.js:133
msgid "Filter Type"
msgstr ""
msgstr "Typ filtru"
#: src/prefs.js:206
msgid "Force alerting even when notifications are set to OFF"
msgstr "Zvýrazňovat i pokud jsou notifikace vypnuty"
msgstr "Zvýrazňovat i pokud jsou upozorňování vypnuta"
#: src/prefs.js:202
msgid "Only alert for chat notifications"
msgstr "Výrazně upozorňovat pouze na zprávy konverzací"
msgstr "Zobrazovat výstrahy pouze na zprávy konverzací"
#: src/prefs.js:203
msgid ""
"Only chat notifications (like Empathy ones) will get alerted (default: OFF)"
msgstr ""
"Pouze zprávy konverzací (například Empathy) budou zvýrazňovány (tato funkce "
"je ve výchozím stavu vypnuta)"
"Výstrahy budou zobrazovány pouze pro zprávy konverzací např. Empathy (výchozí: vypnuto)"
#: src/prefs.js:178
#, fuzzy
msgid "The background color used to paint the message on user's menu"
msgstr "Barva, kterou je zobrazena zpráva v uživatelské nabídce"
msgstr "Barva pozadí, kterou je zobrazena zpráva v uživatelské nabídce"
#: src/prefs.js:174
msgid "The color used to paint the message on user's menu"
@ -102,21 +98,20 @@ msgstr ""
#: src/prefs.js:198
msgid "Use alert background color"
msgstr ""
msgstr "Použít barvu pozadí výstrahy"
#: src/prefs.js:194
#, fuzzy
msgid "Use alert font color"
msgstr "Zvýraznění barvou"
msgstr "Použít barvu písma výstrahy"
#: src/prefs.js:199
msgid "Use the alert background color for alert blinks (default: OFF)"
msgstr ""
msgstr "Blikat barvou jakou má pozadí výstrahy (výchozí: vypnuto)"
#: src/prefs.js:195
msgid "Use the alert font color for alert blinks (default: ON)"
msgstr ""
msgstr "Blikat barvou jakou má písmo výstrahy (výchozí: zapnuto)"
#: src/prefs.js:141
msgid "Whitelist"
msgstr ""
msgstr "Seznam povolených"

View File

@ -19,5 +19,5 @@
],
"url": "https://github.com/bellini666/gnome-shell-notifications-alert",
"uuid": "notifications-alert-on-user-menu@hackedbellini.gmail.com",
"version": 43
"version": 44
}

View File

@ -0,0 +1,84 @@
/*
* Zorin Screen Keyboard Button: Show a button to open the Screen
* Keyboard in the panel if a touchscreen is present.
*
* Copyright (C) 2019 Zorin OS Technologies Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
const St = imports.gi.St;
const Main = imports.ui.main;
const PanelMenu = imports.ui.panelMenu;
const Clutter = imports.gi.Clutter;
const Lang = imports.lang;
let _screenKeyboardButton = null;
const ScreenKeyboardButton = new Lang.Class({
Name: 'ScreenKeyboardButton',
Extends: PanelMenu.Button,
_init: function() {
this.parent(null, "Screen Keyboard Button");
let hbox = new St.BoxLayout({ style_class: 'panel-status-menu-box' });
let icon = new St.Icon({ icon_name: 'input-keyboard-symbolic',
style_class: 'system-status-icon' });
hbox.add_child(icon);
this.actor.add_child(hbox);
this.actor.connect('button-press-event', this._toggleKeyboard);
},
_toggleKeyboard: function() {
if (Main.keyboard._keyboardVisible) {
Main.layoutManager.hideKeyboard();
} else {
Main.layoutManager.showKeyboard();
}
}
});
function init() {
}
function _isTouchscreenPresent() {
let deviceManager = Clutter.DeviceManager.get_default();
let result = false;
deviceManager.list_devices().forEach(device => {
if (device.get_device_type() == Clutter.InputDeviceType.TOUCHSCREEN_DEVICE)
result = true;
});
return result;
}
function enable() {
if (_isTouchscreenPresent() && _screenKeyboardButton == null) {
_screenKeyboardButton = new ScreenKeyboardButton();
Main.panel.addToStatusArea('screen-keyboard-button', _screenKeyboardButton, 0);
}
}
function disable() {
if (_screenKeyboardButton) {
_screenKeyboardButton.destroy();
_screenKeyboardButton = null;
}
}

View File

@ -0,0 +1,13 @@
{
"_generated": "Generated by SweetTooth, do not edit",
"description": "Show a button to open the Screen Keyboard in the panel if a touchscreen is present.\n\nNOTICE: I DID NOT MAKE THIS EXTENSION. ALL CREDIT GOES TO ZORIN OS AND ITS DEVELOPERS.",
"extension-id": "zorin-screen-keyboard-button",
"name": "Zorin Screen Keyboard Button",
"shell-version": [
"3.28",
"3.30"
],
"url": "https://github.com/ZorinOS/gnome-shell-extension-zorin-screen-keyboard-button",
"uuid": "zorin-screen-keyboard-button@zorinos.com",
"version": 1
}