aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-qt5/OS-detect.pri5
-rw-r--r--src-qt5/core-utils/lumina-config/i18n/lumina-config_de.ts16
-rw-r--r--src-qt5/core/lumina-desktop/i18n/lumina-desktop_es.ts40
-rw-r--r--src-qt5/core/lumina-open/lumina-open.1114
-rw-r--r--src-qt5/core/lumina-open/lumina-open.pro5
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/i18n/l-te_es.ts2
6 files changed, 151 insertions, 31 deletions
diff --git a/src-qt5/OS-detect.pri b/src-qt5/OS-detect.pri
index 4ac280cf..eb7fd231 100644
--- a/src-qt5/OS-detect.pri
+++ b/src-qt5/OS-detect.pri
@@ -16,6 +16,7 @@
# L_SHAREDIR: Directory to install the general Lumina files
# L_INCLUDEDIR: Directory to install include files
# L_SESSDIR: Directory to place *.desktop file for starting the Lumina session
+# L_MANDIR: Directory to place man files
# LRELEASE: binary path to the Qt lrelease utility (usually auto-set)
# =============================================
# Note: Make sure the OS variable matches the name of a libLumina/LuminaOS-<OS>.cpp file
@@ -93,8 +94,9 @@ isEmpty(OS){
isEmpty(L_SHAREDIR){ L_SHAREDIR = $${PREFIX}/share }
isEmpty(L_INCLUDEDIR){ L_INCLUDEDIR = $${PREFIX}/include }
isEmpty(L_SESSDIR){ L_SESSDIR = $${L_SHAREDIR}/xsessions }
+ isEmpty(L_MANDIR){ L_MANDIR = $${PREFIX}/man }
isEmpty(LRELEASE){ LRELEASE = $$[QT_INSTALL_BINS]/lrelease }
-
+ isEmpty(MAN_ZIP){ MAN_ZIP = "gzip -c" }
!exists(LRELEASE){ NO_I18N=true } #translations unavailable
#Now convert any of these install path variables into defines for C++ usage
@@ -110,5 +112,6 @@ isEmpty(OS){
L_SHAREDIR = $$DESTDIR$${L_SHAREDIR}
L_INCLUDEDIR = $$DESTDIR$${L_INCLUDEDIR}
L_SESSDIR = $$DESTDIR$${L_SESSDIR}
+ L_MANDIR = $$DESTDIR$${L_MANDIR}
}
}
diff --git a/src-qt5/core-utils/lumina-config/i18n/lumina-config_de.ts b/src-qt5/core-utils/lumina-config/i18n/lumina-config_de.ts
index 81470138..19f00434 100644
--- a/src-qt5/core-utils/lumina-config/i18n/lumina-config_de.ts
+++ b/src-qt5/core-utils/lumina-config/i18n/lumina-config_de.ts
@@ -381,7 +381,7 @@
<message>
<location filename="../LPlugins.cpp" line="137"/>
<source>View and control any running application windows (every individual window has a button)</source>
- <translation>Betrachten und kontrollieren Sie jedes laufende Anwendungsfenster (jedes einzelne Fenster hat eine Schaltfläche)</translation>
+ <translation>Jedes laufende Anwendungsfenster betrachten und steuern (eine Schaltfläche pro Fenster)</translation>
</message>
<message>
<location filename="../LPlugins.cpp" line="150"/>
@@ -443,7 +443,7 @@
<message>
<location filename="../LPlugins.cpp" line="232"/>
<source>RSS Reader</source>
- <translation>RSS Reader</translation>
+ <translation>RSS-Leseanwendung</translation>
</message>
<message>
<location filename="../LPlugins.cpp" line="233"/>
@@ -601,7 +601,7 @@
<message>
<location filename="../LPlugins.cpp" line="354"/>
<source>Dominant color for the theme.</source>
- <translation>Dominante Farbe für das Theme.</translation>
+ <translation>Dominante Farbe für das Thema.</translation>
</message>
<message>
<location filename="../LPlugins.cpp" line="359"/>
@@ -611,7 +611,7 @@
<message>
<location filename="../LPlugins.cpp" line="360"/>
<source>Dominant color for the theme (more subdued).</source>
- <translation>Dominante Farben für das Theme (dezenter)</translation>
+ <translation>Dominante Farben für das Thema (dezenter).</translation>
</message>
<message>
<location filename="../LPlugins.cpp" line="365"/>
@@ -621,7 +621,7 @@
<message>
<location filename="../LPlugins.cpp" line="366"/>
<source>Alternate color for the theme.</source>
- <translation>Alternative Farbe für das Theme.</translation>
+ <translation>Alternative Farbe für das Thema.</translation>
</message>
<message>
<location filename="../LPlugins.cpp" line="371"/>
@@ -631,7 +631,7 @@
<message>
<location filename="../LPlugins.cpp" line="372"/>
<source>Alternate color for the theme (more subdued).</source>
- <translation>Alternative Farbe für das Theme (dezenter)</translation>
+ <translation>Alternative Farbe für das Thema (dezenter).</translation>
</message>
<message>
<location filename="../LPlugins.cpp" line="377"/>
@@ -932,7 +932,7 @@
<source>This theme already exists.
Overwrite it?</source>
<translation>Das Thema existiert bereits.
-Überschrieben?</translation>
+ Überschrieben?</translation>
</message>
</context>
<context>
@@ -1450,7 +1450,7 @@
<message>
<location filename="../pages/page_main.ui" line="32"/>
<source>Search for....</source>
- <translation>Nach ... suchen</translation>
+ <translation>Suchen nach ...</translation>
</message>
<message>
<location filename="../pages/page_main.cpp" line="56"/>
diff --git a/src-qt5/core/lumina-desktop/i18n/lumina-desktop_es.ts b/src-qt5/core/lumina-desktop/i18n/lumina-desktop_es.ts
index fe91f7d9..df631b17 100644
--- a/src-qt5/core/lumina-desktop/i18n/lumina-desktop_es.ts
+++ b/src-qt5/core/lumina-desktop/i18n/lumina-desktop_es.ts
@@ -146,22 +146,22 @@
<message>
<location filename="../BootSplash.ui" line="94"/>
<source>Starting the Lumina Desktop...</source>
- <translation type="unfinished"></translation>
+ <translation>Iniciando el Escritorio Lumina...</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="15"/>
<source>Version %1</source>
- <translation type="unfinished"></translation>
+ <translation>Versión %1</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="39"/>
<source>This desktop is powered by coffee, coffee, and more coffee.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Este escritorio es potenciado por café, café y más café.</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="41"/>
<source>Keep up with desktop news!</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Manténgase al día con las noticias del escritorio!</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="43"/>
@@ -181,12 +181,12 @@
<message>
<location filename="../BootSplash.cpp" line="49"/>
<source>This desktop is generously sponsored by iXsystems</source>
- <translation type="unfinished"></translation>
+ <translation>Este escritorio es generosamente patrocinado por iXsystems</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="51"/>
<source>I have never been hurt by what I have not said</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Nunca he sido herido por algo que no he dicho</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="53"/>
@@ -196,7 +196,7 @@
<message>
<location filename="../BootSplash.cpp" line="55"/>
<source>Everything has its beauty but not everyone sees it.</source>
- <translation type="unfinished"></translation>
+ <translation>Todo tiene su belleza, pero no todos la ven.</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="57"/>
@@ -215,13 +215,13 @@
</message>
<message>
<location filename="../BootSplash.cpp" line="63"/>
- <source>Don&apos;t expect to build up the weak by pulling down the strong.</source>
+ <source>Don't expect to build up the weak by pulling down the strong.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="65"/>
- <source>You can&apos;t know too much, but you can say too much.</source>
- <translation type="unfinished"></translation>
+ <source>You can't know too much, but you can say too much.</source>
+ <translation type="unfinished">No puedes saber demasiado, pero puedes decir demasiado.</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="67"/>
@@ -256,7 +256,7 @@
<message>
<location filename="../BootSplash.cpp" line="79"/>
<source>Start where you are. Use what you have. Do what you can.</source>
- <translation type="unfinished"></translation>
+ <translation>Comienza donde estés. Usa lo que tienes. Haz lo que puedas.</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="81"/>
@@ -291,7 +291,7 @@
<message>
<location filename="../BootSplash.cpp" line="93"/>
<source>The only way to do great work is to love what you do.</source>
- <translation type="unfinished"></translation>
+ <translation>La única manera de hacer un gran trabajo es amar lo que haces.</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="95"/>
@@ -300,7 +300,7 @@
</message>
<message>
<location filename="../BootSplash.cpp" line="97"/>
- <source>Only two things are infinite, the universe and human stupidity, and I&apos;m not sure about the former.</source>
+ <source>Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.</source>
<translation type="unfinished"></translation>
</message>
<message>
@@ -310,7 +310,7 @@
</message>
<message>
<location filename="../BootSplash.cpp" line="101"/>
- <source>Do, or do not. There is no &apos;try&apos;.</source>
+ <source>Do, or do not. There is no 'try'.</source>
<translation type="unfinished"></translation>
</message>
<message>
@@ -330,7 +330,7 @@
</message>
<message>
<location filename="../BootSplash.cpp" line="109"/>
- <source>It&apos;s kind of fun to do the impossible.</source>
+ <source>It's kind of fun to do the impossible.</source>
<translation type="unfinished"></translation>
</message>
<message>
@@ -361,7 +361,7 @@
<message>
<location filename="../BootSplash.cpp" line="121"/>
<source>The best way to predict the future is to invent it.</source>
- <translation type="unfinished"></translation>
+ <translation>La mejor manera de predecir el futuro es inventarlo.</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="123"/>
@@ -381,7 +381,7 @@
<message>
<location filename="../BootSplash.cpp" line="129"/>
<source>Better to remain silent and be thought a fool than to speak out and remove all doubt.</source>
- <translation type="unfinished"></translation>
+ <translation>Es mejor estar callado y parecer tonto, que hablar y despejar las dudas.</translation>
</message>
<message>
<location filename="../BootSplash.cpp" line="140"/>
@@ -738,7 +738,7 @@
<message>
<location filename="../LDesktop.cpp" line="293"/>
<source>Lock Session</source>
- <translation type="unfinished"></translation>
+ <translation>Bloquear sesión</translation>
</message>
<message>
<location filename="../LDesktop.cpp" line="294"/>
@@ -982,7 +982,7 @@
<message>
<location filename="../panel-plugins/audioplayer/PPlayerWidget.ui" line="14"/>
<source>Form</source>
- <translation type="unfinished"></translation>
+ <translation>Formulario</translation>
</message>
<message>
<location filename="../panel-plugins/audioplayer/PPlayerWidget.cpp" line="69"/>
@@ -1264,7 +1264,7 @@
<message>
<location filename="../SettingsMenu.cpp" line="33"/>
<source>Wallpaper</source>
- <translation type="unfinished"></translation>
+ <translation>Fondo de Pantalla</translation>
</message>
<message>
<location filename="../SettingsMenu.cpp" line="36"/>
diff --git a/src-qt5/core/lumina-open/lumina-open.1 b/src-qt5/core/lumina-open/lumina-open.1
new file mode 100644
index 00000000..e8c555ee
--- /dev/null
+++ b/src-qt5/core/lumina-open/lumina-open.1
@@ -0,0 +1,114 @@
+.Dd March 29, 2017
+.Dt LUMINA-OPEN 1
+.Os Lumina Desktop Environment
+.\"-------------------------------------------------------------------
+.Sh NAME
+.Nm lumina-open
+.Nd Application launcher for the Lumina Desktop Environment.
+.\"-------------------------------------------------------------------
+.Sh SYNOPSIS
+.Nm
+.Pp
+.Nm
+.Cm [-select | -action <ActionID>] <file path or URL>
+.Pp
+.Nm
+.Cm [-volumeup | -volumedown | -brightnessup | -brightnessdown |
+-autostart-apps | -terminal]
+.\"-------------------------------------------------------------------
+.Sh DESCRIPTION
+Given a file with an absolute pathway or URL, the
+.Nm
+utility finds the appropriate application which which to open the
+file. If the file is a *.desktop application shortcut,
+.Nm
+starts the application automatically. Using the appropriate flags
+allows
+.Nm
+to perform a few specific system operations. Here are the commands,
+flags, and descriptions of their functionality:
+.Pp
+.Bl -tag -width indent
+.It Ic lumina-open
+Displays the description and usage for lumina-open.
+.It Ic lumina-open [-select | -action <ActionID>] <file path or URL>
+Opens the file using the appropriate application.
+.It Fl select
+Optional flag. Bypasses any default application settings to display
+the application selector window.
+.It Fl action\ <ActionID>
+Optional flag. Runs the specified ActionID that is listed in
+a .desktop registration file rather than the main command.
+.It Ic lumina-open [-volumeup | -volumedown | -brightnessup |
+-brightnessdown | -autostart-apps | -terminal]
+.Pp
+This command is used to perform system operations, depending on the
+specific flags.
+.It Fl volumeup
+Increase system audio volume by 5%.
+.It Fl volumedown
+Decrease system audio volume by 5%.
+.It Fl brightnessup
+Increase screen brightness by 5%.
+.It Fl brightnessdown
+Decrease screen brightness by 5%.
+.It Fl autostart-apps
+Launches all applications registered with the XDG autostart
+application. Typically run by the desktop and not manually launched.
+.It Fl terminal
+Open the user's default terminal.
+.El
+.\"-------------------------------------------------------------------
+.Sh EXAMPLES
+.Bl -tag -width indent
+.It lumina-open -brightnessup
+Increase screen brightness.
+.Pp
+.It lumina-open sample.txt
+.Nm
+finds the default program for .txt files and opens sample.txt with
+the appropriate application.
+.It lumina-open ~/Documents
+.Nm
+launches the default file manager, pointed to the current user's
+Documents directory.
+.It lumina-open http://lumina-desktop.org
+Launches the default web browser pointed to the Lumina website.
+.El
+.\"-------------------------------------------------------------------
+.Sh FILES
+.Bl -tag -width indent
+.It Pa ${XDG_CONFIG_HOME}/mimeapps.list
+Default file that saves mimetype to application associations.
+.It Pa ${XDG_CONFIG_HOME}/${XDG_CURRENT_DESKTOP}-mimeapps.list
+Default file that saves mimetype to application associations for the
+current desktop session. This file is used before the generic
+associations file.
+.El
+.\"-------------------------------------------------------------------
+.Sh SEE ALSO
+.Xr XDG-OPEN(1)
+.\"-------------------------------------------------------------------
+.Sh REFERENCES
+For .desktop entry specifications and formatting, refer to these
+websites:
+.Bl -tag -width indent
+.Pp
+.Cm https://specifications.freedesktop.org/desktop-entry-spec/latest/
+.Pp
+Specifications for .desktop files.
+.Pp
+.Cm https://specifications.freedesktop.org/mime-apps-spec/latest/
+.Pp
+Details how default applications are registered.
+.Pp
+.Cm https://specifications.freedesktop.org/autostart-spec/latest/
+.Pp
+Used in the -autostart-apps action. Determines which applications
+are automatically started.
+.Pp
+.El
+.\"-------------------------------------------------------------------
+.Sh AUTHOR
+.An Tim Moore
+.Aq timmoore88@gmail.com
diff --git a/src-qt5/core/lumina-open/lumina-open.pro b/src-qt5/core/lumina-open/lumina-open.pro
index 96d879bd..1110a2fa 100644
--- a/src-qt5/core/lumina-open/lumina-open.pro
+++ b/src-qt5/core/lumina-open/lumina-open.pro
@@ -88,7 +88,10 @@ TRANSLATIONS = i18n/lumina-open_af.ts \
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
-INSTALLS += target
+manpage.path=$${L_MANDIR}/man1/
+manpage.extra="$${MAN_ZIP} lumina-open.1 > $(INSTALL_ROOT)$${L_MANDIR}/man1/lumina-open.1.gz"
+
+INSTALLS += target manpage
WITH_I18N{
INSTALLS += dotrans
diff --git a/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_es.ts b/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_es.ts
index f3915949..4a1d2473 100644
--- a/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_es.ts
+++ b/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_es.ts
@@ -286,7 +286,7 @@ Do you want to close the editor anyway?
<message>
<location filename="../PlainTextEditor.cpp" line="289"/>
<source>Row Number: %1, Column Number: %2</source>
- <translation type="unfinished"></translation>
+ <translation>Número de fila: %1, Número de columna: %2</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="298"/>
bgstack15