OSDN Git Service

2020.05.14 update
[rebornos/cnchi-gnome-osdn.git] / Cnchi / features_info.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 #
4 #  features_info.py
5 #
6 #  Copyright © 2013-2019 RebornOS
7 #
8 #  This file is part of Cnchi.
9 #
10 #  Cnchi is free software; you can redistribute it and/or modify
11 #  it under the terms of the GNU General Public License as published by
12 #  the Free Software Foundation; either version 3 of the License, or
13 #  (at your option) any later version.
14 #
15 #  Cnchi is distributed in the hope that it will be useful,
16 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
17 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 #  GNU General Public License for more details.
19 #
20 #  The following additional terms are in effect as per Section 7 of the license:
21 #
22 #  The preservation of all legal notices and author attributions in
23 #  the material or in the Appropriate Legal Notices displayed
24 #  by works containing it is required.
25 #
26 #  You should have received a copy of the GNU General Public License
27 #  along with Cnchi; If not, see <http://www.gnu.org/licenses/>.
28
29
30 """ Features information """
31
32 # Note: As each desktop has its own features, these are listed
33 # in desktop_info file instead of here.
34
35
36 ICON_NAMES = {
37     'a11y': 'preferences-desktop-accessibility',
38     'aur': 'system-software-install',
39     'bluetooth': 'bluetooth',
40     'broadcom': 'cs-drivers',
41     'cups': 'printer',
42     'chromium': 'chromium',
43     'dropbox': 'dropbox',
44     'email': 'thunderbird',
45     'firefox': 'firefox',
46     'firefox-developer-edition': 'firefox-developer-edition',
47     'google-chrome': 'google-chrome',
48 #    'firewall': 'network-server',
49     'fonts': 'preferences-desktop-font',
50     'firewire': 'drive-harddisk-ieee1394',
51     'games': 'applications-games',
52 #    'graphics': 'apps.com.pixlr',
53     'graphics': 'accessories-painting',
54     'gtk-play': 'applications-games',
55     'hardinfo': 'hardinfo',
56     'qt-play': 'applications-games',
57     'maintenance': 'baobab',
58     'movie': 'artemanufrij.screencast',
59     'graphic_drivers': 'gnome-system',
60     'lamp': 'applications-internet',
61     'lts': 'applications-accessories',
62     'nemo': 'system-file-manager',
63     'nautilus': 'system-file-manager',
64     'qownnotes': 'QOwnNotes',
65     'wps-office': 'wps-office-wpt',
66     'libreoffice': 'libreoffice-writer',
67     'freeoffice': 'libreoffice-writer',
68     'power': 'battery-full-charged',
69 #    'plymouth': 'debian-plymouth-manager',
70     'redshift': 'redshift',
71     'sshd': 'gnome-mime-x-directory-smb-share',
72     'spotify': 'spotify-client',
73 #    'skype': 'skype',
74     'visual': 'video-display',
75     'vivaldi': 'vivaldi',
76     'vlc': 'vlc',
77     'wallpapers': 'background',
78     'wine': 'wine',
79     'opera': 'opera'}
80
81 # These features are considered 'advanced' so it won't be shown by default
82 ADVANCED = [ 'lamp', 'sshd', 'visual', 'firewire', 'broadcom', 'nautilus', 'nemo', 'email', 'wallpapers', 'hunspell' ]
83
84 # These features are considered 'basic', and will be shown by default
85 BASIC = ['opera', 'wine', 'wallpapers', 'vlc', 'vivaldi', 'visual', 'spotify', 'redshift', 'power', 'libreoffice', 'wps-office', 'freeoffice', 'qownnotes', 'lts', 'graphic_drivers', 'movie', 'maintenance', 'qt-play', 'hardinfo', 'gtk-play', 'graphics', 'games', 'fonts', 'firefox', 'firefox-developer-edition', 'google-chrome', 'email', 'dropbox', 'chromium', 'cups', 'bluetooth', 'aur', 'a11y']
86
87 # See http://docs.python.org/2/library/gettext.html "22.1.3.4. Deferred translations"
88 def _(message):
89     return message
90
91 TITLES = {
92     'a11y': _("Adds accessibility packages"),
93     'aur': _("Arch User Repository (AUR) Support"),
94     'bluetooth': _("Bluetooth Support"),
95     'broadcom': _("Broadcom Driver Support"),
96     'cups': _("Printing Support"),
97     'chromium': _("Chromium Web Browser"),
98     'dropbox': _("Dropbox"),
99     'email': _("Desktop Email Client"),
100     'firefox': _("Firefox Web Browser"),
101     'firefox-developer-edition': _("Firefox Developer Edition"),
102     'google-chrome': _("Google Chrome"),
103     'opera': _("Opera Web Browser"),
104     'vivaldi': _("Vivaldi Web Browser"),
105 #    'firewall': _("Uncomplicated Firewall"),
106     'fonts': _("Extra Truetype Fonts"),
107     'firewire': _("Support For Firewire Devices"),
108     'games': _("Steam + PlayonLinux"),
109     'graphic_drivers': _("Graphic drivers (Proprietary)"),
110     'gtk-play': _("Popular Games for Linux"),
111     'qt-play': _("Popular Games for Linux"),
112     'hardinfo': _("Hardware Analysis"),
113     'maintenance': _("Applications to Perform System Maintenance"),
114     'movie': _("Common Video Editing Programs for Linux"),
115     'graphics': _("Common Photo editing Programs for Linux"),
116     'hunspell': _("Spell Check"),
117     'lamp': _("Apache (or Nginx) + Mariadb + PHP"),
118     'lts': _("Kernel (LTS version)"),
119     'libreoffice': _("LibreOffice"),
120     'wps-office': _("WPS Office"),
121     'freeoffice': _("FreeOffice"),
122     'power': _("Power Saving"),
123 #    'plymouth': _("Boot Screen"),
124     'redshift': _("Redshift"),
125     'sshd': _("Windows sharing SMB"),
126 #    'skype': _("Skype"),
127     'spotify': _("Spotify"),
128     'visual': _("Visual Effects"),
129     'vlc': _("VLC"),
130     'wallpapers': _("Wallpapers Cycler"),
131     'wine': _("Run Windows Programs on Linux"),
132     'nemo': _("Nemo File Manager"),
133     'qownnotes': _("QOwnNotes"),
134     'nautilus': _("Nautilus File Manager")}
135
136 DESCRIPTIONS = {
137     'a11y': _("Useful packages for individuals who are blind or visually impaired."),
138     'aur': _("The AUR is a community-driven repository for Arch users."),
139     'bluetooth': _("Enables your system to make wireless connections via Bluetooth."),
140     'broadcom': _("Enables your system to effectively use a Broadcom driver"),
141     'chromium': _("Open-source web browser from Google."),
142     'email': _("Installs Thunderbird as your Desktop Email Client"),
143     'dropbox': _("Free file hosting service for Linux (installed from external source to avoid copywrite issues)"),
144     'firefox': _("A popular open-source graphical web browser from Mozilla."),
145     'firefox-developer-edition': _("Firefox for Developers"),
146     'google-chrome': _("Chrome is a free Internet browser officially released by Google"),
147     'opera':_("Opera is an innovative, minimalistic web browser from Opera.Inc"),
148     'vivaldi': _("Vivaldi is a free, fast web browser designed for power-users."),
149     'fonts': _("TrueType fonts from the Google Fonts project."),
150     'firewire': _("Linux Support For Firewire Devices"),
151     'games': _("Installs Steam and Playonlinux for gaming enthusiasts."),
152     'graphic_drivers': _("Installs AMD or Nvidia proprietary graphic driver."),
153     'gtk-play': _("Popular games for Linux, all created for use on your Desktop Environment"),
154     'hunspell': _("Slightly Broken (atm) Spell Check Packages for RebornOS"),
155     'hardinfo': _("Easy application for extensive hardware analysis"),
156     'qt-play': _("Popular games for Linux, all created for use on your Desktop Environment"),
157     'maintenance': _("Common Applications to Perform System Maintenance On Linux"),
158     'movie': _("Common video editing programs for Linux"),
159     'graphics': _("Common Photo editing Programs for Linux"),
160     'lamp': _("Apache (or Nginx) + Mariadb + PHP installation and setup."),
161     'cups': _("Installation of printer drivers and management tools."),
162     'wps-office': _("Office Suit for Linux, made for those used to MS Office"),
163     'libreoffice': _("Open source office suite. Supports editing MS Office files."),
164     'freeoffice': _("FreeOffice is a full-featured Office suite."),
165     'visual': _("Enable transparency, shadows, and other desktop effects."),
166     'vlc': _("Ultimate Media Player For Linux"),
167 #    'firewall': _("Control the incoming and outgoing network traffic."),
168     'lts': _("Long term support (LTS) Linux kernel and modules."),
169     'power': _("Power Saving Tools Geared Specifically for Laptops"),
170 #    'plymouth': _("Uses Plymouth To Offer You a Polished Boot Screen"),
171     'redshift': _("Color Temperature Adjuster Based on Local Time"),
172     'sshd': _("Provides client access to shared files and printers."),
173 #   'skype': _("A User Friendly Video Chat Tool Made By Microsoft"),
174     'spotify': _("A widely popular music, podcast, and video streaming service"),
175     'nemo': _("Default file manager for the Cinnamon desktop."),
176     'wallpapers': _("Wallpapers Cycler That Changes Wallpapers Every Day"),
177     'wine': _("Run Common Windows Programs on Linux Easily"),
178     'qownnotes': _("Your notes on your hard disk and in your own cloud"),
179     'nautilus': _("Default file manager for the Gnome desktop.")}
180
181 TOOLTIPS = {
182     'a11y': _("Useful packages for individuals who are blind or visually impaired."),
183     'aur': _("Use yaourt to install AUR packages.\n"
184              "The AUR was created to organize and share new packages\n"
185              "from the community and to help expedite popular packages'\n"
186              "inclusion into the [community] repository."),
187     'bluetooth': _("Bluetooth is a standard for the short-range wireless\n"
188                    "interconnection of cellular phones, computers, and\n"
189                    "other electronic devices. In Linux, the canonical\n"
190                    "implementation of the Bluetooth protocol stack is BlueZ."),
191     'broadcom': _("NOTE: IF YOU ARE UNSURE EXACTLY OF WHAT NEMO IS, IT IS ADVISED TO\n"
192                                "NOT ENABLE THIS FEATURE.\n"
193                               "However, if you are sure that you are using a braodcom driver on your system,\n"
194                               "then it is advised to enable this option as it installs several broadcom dependencies."),
195     'cups': _("CUPS is the standards-based, open source printing\n"
196               "system developed by Apple Inc. for OS® X and other\n"
197               "UNIX®-like operating systems."),
198     'chromium': _("Chromium is an open-source browser project that aims to build a\n"
199                   "safer, faster, and more stable way for all users to experience the web.\n"
200                   "(this is the default)"),
201     'email': _("Thunderbird is one of the most common and stable desktop email clients\n"
202                "for Linux around. It is is a free, open source, cross-platform email, news,\n"
203                "RSS, and chat client developed by the Mozilla Foundation for you."),
204     'dropbox': _("Dropbox is a free file hosting and synchronization service for Linux\n"
205                  "that integrates fully into your file manager - all for free (installed from \n"
206                  "external source to avoid copywrite issues)"),
207     'firefox': _("Mozilla Firefox (known simply as Firefox) is a free and\n"
208                  "open-source web browser developed for Windows, OS X, and Linux,\n"
209                  "with a mobile version for Android, by the Mozilla Foundation and\n"
210                  "its subsidiary, the Mozilla Corporation. Firefox uses the Gecko\n"
211                  "layout engine to render web pages, which implements current and\n"
212                  "anticipated web standards.  Enable this option to install Firefox\n"
213                  "instead of Chromium"),
214     'firefox-developer-edition': _("The Firefox Developer Edition is a modified version of Firefox\n"
215                                    "that is specifically designed for web developers. It also uses\n"
216                                    "a separate profile from the regular version so that running\n"
217                                    "them side-by-side is an option."),
218     'google-chrome': _("Chrome is a free Internet browser officially released by Google\n"
219                        "on December 11, 2008. Its features include synchronization with\n"
220                        "Google services and accounts, tabbed browsing, and automatic\n"
221                        "translation and spell check of web pages. It also features an\n"
222                        "integrated address bar/search bar, called the omnibox."),
223     'opera': _("Opera is a freeware, cross-platform web browser developed by\n"
224               "Opera.Inc. The browser is aimed at conventional internet users\n"
225               "and those who enjoy simplicity"),
226     'vivaldi': _("Vivaldi is a freeware, cross-platform web browser developed by\n"
227                  "Vivaldi Technologies. It was officially launched on April 12, 2016.\n"
228                  "The browser is aimed at staunch technologists, heavy Internet users,\n"
229                  "and previous Opera web browser users disgruntled by Opera's transition\n"
230                  "from the Presto layout engine to the Blink layout engine, which\n"
231                  "removed many popular features."),
232 #    'firewall': _("Ufw stands for Uncomplicated Firewall, and is a program for\n"
233 #                  "managing a netfilter firewall. It provides a command line\n"
234 #                  "interface and aims to be uncomplicated and easy to use."),
235     'fonts': _("Fonts: adobe-source-code-pro, adobe-source-sans-pro, jsmath, lohit\n"
236                "oldstand, openarch, otf-bitter, otf-goudy, andika, anonymous-pro\n"
237                "cantarell, cardo, chromeos-fonts, comfortaa, droid, google-fonts\n"
238                "google-webfonts, inconsolata, kimberly_geswein_print, lekton\n"
239                "medievalsharp, nova, oldstandard, opensans, oxygen, pt-mono\n"
240                "pt-sans, roboto, sil-fonts, sortsmillgoudy, source-code-pro\n"
241                "source-sans-pro, ubuntu-font-family, vollkorn, fira-mono\n"
242                "fira-sans and lato."),
243     'firewire': _("NOTE: IF YOU ARE UNSURE EXACTLY OF WHAT FIREWIRE IS, IT IS ADVISED TO\n"
244                   "NOT ENABLE THIS FEATURE.\n"
245                   "That said, firewire is an alternative introduced by Apple to USB devices\n"
246                   "that offers a much faster data exchange rate. It is often used in cameras\n"
247                   "and other small devices."),
248     'games': _("Steam is one of the most popular gaming clients that supports\n"
249                "linux in technology and gaming, while PlayOnLinux\n"
250                "is a very easy manager to setting up games to play\n"
251                "through wine, instead of doing it manually."),
252     'graphic_drivers': _("Installs AMD or Nvidia proprietary graphics driver instead\n"
253                          "of the open-source variant. Do NOT install this if you have a\n"
254                          "Nvidia Optimus laptop"),
255     'gtk-play': _("Popular games for Linux, ranging from complex games like 0 A.D,\n"
256                   "Battle for Wesnoth, and Super Tux to basics like Solitaire,\n"
257                   "Mines, and Soduku - all tailored for a gtk environemt"),
258     'hardinfo': _("Simple application for hardware analysis and system benchmarking.\n"
259                   "Through this, you can easily view all of your system specs without\n"
260                   "having to revert to the commandline."),
261     'hunspell': _("Blah blah blah... honestly not too much to say for this one. Did I mention it's a spell checker?"),
262     'qt-play': _("Popular games for Linux, ranging from complex games like 0 A.D,\n"
263                  "Battle for Wesnoth, and Super Tux to basics like Solitaire,\n"
264                  "Mines, and Soduku - all tailored for a qt environemt"),
265     'maintenance': _("This option install some common applications used for\n"
266                      "system maintenance in Linux.\n"
267                      "Specificaly, this option installs Bleachbit, Stacer, Timeshift, and RebornOS Recovery.\n"
268                      "BleachBit is a free and open-source disk space cleaner, privacy manager,\n"
269                      "and computer system optimizer. Whereas Bleachbit and Stacer both primarily clean your system,\n"
270                      "Timeshift and RebornOS Recovery are preventative solutions to sudden losses\n"
271                      "of data. Timeshift enables you to easily backup your data locally\n"
272                      "while RebornOS Recovery allows you to save a list of all your installed\n"
273                      "programs in a file so that you can reinstall them later."),
274     'movie': _("Common video editing programs for Linux, such as Open Shot, KdenLive,\n"
275                "Pitivi, and Avidemux"),
276     'graphics': _("Common Photo editing Programs for Linux, such as Gimp, GtThumb,\n"
277                   "Rapid Photo Downloader, Rawtherapee, and DarkTable"),
278     'lamp': _("This option installs a web server (you can choose\n"
279               "Apache or Nginx) plus a database server (Mariadb)\n"
280               "and PHP."),
281     'lts': _("The linux-lts package is an alternative Arch kernel package.\n"
282              "This particular kernel version enjoys long-term support from upstream,\n"
283              "including security fixes and some feature backports. Additionally, this\n"
284              "package includes ext4 support. For RebornOS users seeking a long-term\n"
285              "support kernel, or who want a fallback kernel in case the latest kernel\n"
286              "version causes problems, this option is the answer."),
287     'freeoffice': _("FreeOffice is a full-featured Office suite with word processing,\n"
288                     "spreadsheet and presentation software. It is seamlessly compatible\n"
289                     "with Microsoft Office and available for Windows, Mac and Linux.\n"
290                     "Best of all, it's completely free for both personal and commercial use."),
291     'wps-office': _("WPS Office is the free power-packed Office Suite made to make\n"
292                       "even those most used to Microsoft Office feel at home. Looking nearly\n"
293                       "identical to Microsoft Office, this productivity suite is great for everyone"),
294     'libreoffice': _("LibreOffice is the free power-packed Open Source\n"
295                 "personal productivity suite for Windows, Macintosh\n"
296                 "and Linux, that gives you six feature-rich applications\n"
297                 "for all your document production and data processing\n"
298                 "needs: Writer, Calc, Impress, Draw, Math and Base."),
299     'power': _("Two programs are installed through this, namely TLP and Thermald.\n"
300                "TLP will automatically adjust your laptop to optimize your battery\n"
301                "performance in the background without interfering with your daily use at all,\n"
302                "and Thermald will conveniently ensure that your fans and CPU both remain\n"
303                "at acceptable levels"),
304 #    'plymouth': _("Dislike commands and status reports flowing across your screen while booting up?\n"
305 #                             "Want your computer to have an extra bit of eye-candy? Just enable this option,\n"
306 #                             "which will configure Plymouth - the standard boot screen program for Linux - for you"),
307     'redshift': _("Redshift is an application that adjusts the computer display's color temperature\n"
308                           "based upon the time of day - with absolutely no manual intervention needed after\n"
309                           "the initial setup."),
310     'sshd': _("Most usage of SMB involves computers running Microsoft Windows.\n"
311              "Use this option to be able to browse SMB shares from your computer."),
312 #    'skype': _("Skype is a user-friendly video chat tool made by Microsoft for all ages.\n"
313 #               "While it's Linux support often drags behind the latest version,\n"
314 #               "it is still widely popular and well-known, allowing you to converse\n"
315 #               "with the ones you love"),
316     'spotify': _("Spotify is a widely popular music, podcast, and video streaming service.\n"
317                  "It offers millions of songs and sound tracks, all available for free.\n"
318                  "However, a paid subscription is required to download the songs and listen to them\n"
319                  "offline. (Installed from external source to avoid copywrite issues)"),
320     'visual': _("Compton is a lightweight, standalone composite manager,\n"
321                 "suitable for use with window managers that do not natively\n"
322                 "provide compositing functionality. Compton itself is a fork\n"
323                 "of xcompmgr-dana, which in turn is a fork of xcompmgr.\n"
324                 "See the compton github page for further information."),
325     'vlc': _("VLC is often considered the ultimate media player, no matter\n"
326              "what system you use. It is highly versitile, and can play almost any\n"
327              "media format imaginable, even damaged ones. If you ever have a problem\n"
328              "with videos or music, VLC can likely solve it."),
329     'nemo': _("NOTE: IF YOU ARE UNSURE EXACTLY OF WHAT NEMO IS, IT IS ADVISED TO\n"
330               "NOT ENABLE THIS FEATURE.\n"
331               "That said, Nemo is the default file manager for the Cinnamon desktop.\n"
332               "It is praised for it's features, but does not compare to Konquerer,\n"
333               "the KDE file manager."),
334     'qownnotes': _("QOwnNotes is the open source (GPL) plain-text file markdown note\n"
335                  "taking application for GNU/Linux, Mac OS X and Windows by Patrizio\n"
336                  "Bekerle (pbek on GitHub and IRC), that (optionally) works together\n"
337                  "with the notes application of ownCloud or Nextcloud."),
338     'wallpapers': _("Installs a program known as Variety, an easy way to automatically\n"
339                     "change your wallpaper from thousands of high-quality, free images each day."),
340     'wine': _("Easily run several Windows programs on Linux - safely. Wine offers a simple,\n"
341               "non-technical method of installing Windows software. Simply download the desired\n"
342               ".exe file like you normally would for Windows, and then right click to run using\n"
343               "Wine. It's as easy as that.\n"
344               "In addition, this comes with PlayOnLinux and Lutris both installed for you to make even\n"
345               "the more troublesome games possible on Linux.\n"
346               "NOTE: NOT ALL PROGRAMS WILL WORK WITH WINE, ALTHOUGH THE MAJORITY DO"),
347     'nautilus': _("NOTE: IF YOU ARE UNSURE EXACTLY OF WHAT NAUTILUS IS, IT IS ADVISED TO\n"
348               "NOT ENABLE THIS FEATURE.\n"
349               "That said, Nautilus is the default file manager for the Gnome desktop.\n"
350               "It is praised for it's ease of use, and currently has a few more\n"
351               "features than Deepin's file manager.")}
352
353 # Delete previous _() dummy declaration
354 del _