From 5ec2443ab10a5292c5fe391b2ce13d2152c3c4f3 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Tue, 8 Nov 2016 01:59:35 +0200 Subject: [PATCH] Add more test menus for TWM Add a TWM menu with titles as well as the same menu with titles in Greek. --- tests/menus_correct/twm_titles | 127 ++++++++++++++++++++++++++++++ tests/menus_correct/twm_titles_el | 127 ++++++++++++++++++++++++++++++ 2 files changed, 254 insertions(+) create mode 100644 tests/menus_correct/twm_titles create mode 100644 tests/menus_correct/twm_titles_el diff --git a/tests/menus_correct/twm_titles b/tests/menus_correct/twm_titles new file mode 100644 index 0000000..80c3c17 --- /dev/null +++ b/tests/menus_correct/twm_titles @@ -0,0 +1,127 @@ +menu "xdgmenu" +{ + "Applications" f.title + "Accessories" f.menu "Accessories" + "Development" f.menu "Development" + "Education" f.menu "Education" + "Games" f.menu "Games" + "Graphics" f.menu "Graphics" + "Multimedia" f.menu "Multimedia" + "Network" f.menu "Network" + "Office" f.menu "Office" + "Settings" f.menu "Settings" + "System" f.menu "System" +} +menu "Accessories" +{ + "Accessories" f.title + "Engrampa Archive Manager" f.exec "engrampa &" + "GTKMan Manual Page Viewer" f.exec "gtkman salix &" + "Galculator" f.exec "galculator &" + "KeePassX" f.exec "keepassx &" + "Leafpad" f.exec "leafpad &" + "Search for Files..." f.exec "mate-search-tool &" + "Take Screenshot" f.exec "mate-screenshot --interactive &" + "Xournal" f.exec "xournal &" + "Zim Desktop Wiki" f.exec "zim &" +} +menu "Development" +{ + "Development" f.title + "CMake" f.exec "cmake-gui &" + "Geany" f.exec "geany &" + "Glade" f.exec "glade-3 &" + "Meld" f.exec "meld &" + "Poedit" f.exec "poedit &" + "Qt4 Assistant" f.exec "assistant &" + "Qt4 Designer" f.exec "designer &" + "Qt4 Linguist" f.exec "linguist &" + "RStudio" f.exec "/usr/lib64/rstudio/bin/rstudio &" +} +menu "Education" +{ + "Education" f.title + "LibreOffice 4.4 Math" f.exec "libreoffice4.4 --math &" + "R" f.exec "xterm -e R &" +} +menu "Games" +{ + "Games" f.title + "KEGS" f.exec "xterm -e aoss xkegs &" +} +menu "Graphics" +{ + "Graphics" f.title + "Dia Diagram Editor" f.exec "dia &" + "E-book Viewer" f.exec "ebook-viewer &" + "GNU Image Manipulation Program" f.exec "gimp-2.8 &" + "Gcolor2" f.exec "gcolor2 &" + "LRF Viewer" f.exec "lrfviewer &" + "LibreOffice 4.4 Draw" f.exec "libreoffice4.4 --draw &" + "Simple Scan" f.exec "simple-scan &" + "Viewnior" f.exec "viewnior &" +} +menu "Multimedia" +{ + "Multimedia" f.title + "Asunder CD Ripper" f.exec "asunder &" + "Audacity" f.exec "audacity &" + "Ex Falso" f.exec "exfalso &" + "Exaile" f.exec "exaile &" + "GNOME MPlayer" f.exec "gnome-mplayer &" + "Gaupol" f.exec "gaupol &" + "ISO Master" f.exec "isomaster &" + "Quod Libet" f.exec "quodlibet &" +} +menu "Network" +{ + "Network" f.title + "Claws Mail" f.exec "claws-mail &" + "Firefox" f.exec "firefox &" + "Pidgin Internet Messenger" f.exec "pidgin &" + "Transmission" f.exec "transmission-gtk &" + "gFTP" f.exec "gftp &" + "ownCloud desktop sync client" f.exec "/usr/bin/owncloud &" +} +menu "Office" +{ + "Office" f.title + "Atril Document Viewer" f.exec "atril &" + "Dictionary" f.exec "mate-dictionary &" + "HTMLDOC" f.exec "htmldoc &" + "LibreOffice 4.4 Base" f.exec "libreoffice4.4 --base &" + "LibreOffice 4.4 Calc" f.exec "libreoffice4.4 --calc &" + "LibreOffice 4.4 Impress" f.exec "libreoffice4.4 --impress &" + "LibreOffice 4.4 Writer" f.exec "libreoffice4.4 --writer &" + "calibre" f.exec "calibre &" +} +menu "Settings" +{ + "Settings" f.title + "Bluetooth Manager" f.exec "blueman-manager &" + "Power Management" f.exec "mate-power-preferences &" + "Qt4 Config" f.exec "qtconfig &" + "Screensaver" f.exec "xscreensaver-demo &" +} +menu "System" +{ + "System" f.title + "ALSA sound card" f.exec "gksu gtkalsasetup &" + "Disk Usage Analyzer" f.exec "mate-disk-usage-analyzer &" + "Dotnew" f.exec "gksu dotnew-gtk &" + "Grsync" f.exec "/usr/bin/grsync -i &" + "Gslapt Package Manager" f.exec "gksu /usr/sbin/gslapt &" + "Hostnames" f.exec "gksu gtkhostsetup &" + "Htop" f.exec "xterm -e htop &" + "Keyboard" f.exec "gksu gtkkeyboardsetup &" + "Log File Viewer" f.exec "mate-system-log &" + "MATE Terminal" f.exec "mate-terminal &" + "Manage Printing" f.exec "/usr/bin/xdg-open http://localhost:631/ &" + "Power Statistics" f.exec "mate-power-statistics &" + "Sourcery SlackBuild Manager" f.exec "gksu sourcery &" + "System clock" f.exec "gksu gtkclocksetup &" + "System language" f.exec "gksu gtklocalesetup &" + "System services" f.exec "gksu gtkservicesetup &" + "Users and groups" f.exec "gksu gtkusersetup &" + "dconf Editor" f.exec "dconf-editor &" +} diff --git a/tests/menus_correct/twm_titles_el b/tests/menus_correct/twm_titles_el new file mode 100644 index 0000000..4380dbe --- /dev/null +++ b/tests/menus_correct/twm_titles_el @@ -0,0 +1,127 @@ +menu "xdgmenu" +{ + "Εφαρμογές" f.title + "Ανάπτυξη" f.menu "Ανάπτυξη" + "Βοηθήματα" f.menu "Βοηθήματα" + "Γραφείο" f.menu "Γραφείο" + "Γραφικά" f.menu "Γραφικά" + "Δίκτυο" f.menu "Δίκτυο" + "Εκπαίδευση" f.menu "Εκπαίδευση" + "Παιχνίδια" f.menu "Παιχνίδια" + "Πολυμέσα" f.menu "Πολυμέσα" + "Ρυθμίσεις" f.menu "Ρυθμίσεις" + "Σύστημα" f.menu "Σύστημα" +} +menu "Ανάπτυξη" +{ + "Ανάπτυξη" f.title + "CMake" f.exec "cmake-gui &" + "Geany" f.exec "geany &" + "Glade" f.exec "glade-3 &" + "Meld" f.exec "meld &" + "Poedit" f.exec "poedit &" + "Qt4 Assistant" f.exec "assistant &" + "Qt4 Designer" f.exec "designer &" + "Qt4 Linguist" f.exec "linguist &" + "RStudio" f.exec "/usr/lib64/rstudio/bin/rstudio &" +} +menu "Βοηθήματα" +{ + "Βοηθήματα" f.title + "Galculator" f.exec "galculator &" + "KeePassX" f.exec "keepassx &" + "Leafpad" f.exec "leafpad &" + "Xournal" f.exec "xournal &" + "Zim Desktop Wiki" f.exec "zim &" + "Αναζήτηση για αρχεία..." f.exec "mate-search-tool &" + "Διαχειριστής συμπιεσμένων αρχείων Engrampa" f.exec "engrampa &" + "Εμφάνιση σελίδων εγχειριδίου" f.exec "gtkman salix &" + "Λήψη στιγμιότυπου οθόνης" f.exec "mate-screenshot --interactive &" +} +menu "Γραφείο" +{ + "Γραφείο" f.title + "HTMLDOC" f.exec "htmldoc &" + "LibreOffice 4.4 Base" f.exec "libreoffice4.4 --base &" + "LibreOffice 4.4 Calc" f.exec "libreoffice4.4 --calc &" + "LibreOffice 4.4 Impress" f.exec "libreoffice4.4 --impress &" + "LibreOffice 4.4 Writer" f.exec "libreoffice4.4 --writer &" + "calibre" f.exec "calibre &" + "Εφαρμογή προβολής εγγράφων Atril" f.exec "atril &" + "Λεξικό" f.exec "mate-dictionary &" +} +menu "Γραφικά" +{ + "Γραφικά" f.title + "E-book Viewer" f.exec "ebook-viewer &" + "Gcolor2" f.exec "gcolor2 &" + "LRF Viewer" f.exec "lrfviewer &" + "LibreOffice 4.4 Draw" f.exec "libreoffice4.4 --draw &" + "Viewnior" f.exec "viewnior &" + "Επεξεργαστής διαγραμμάτων Dia" f.exec "dia &" + "Πρόγραμμα επεξεργασίας εικόνων GNU" f.exec "gimp-2.8 &" + "Σάρωση" f.exec "simple-scan &" +} +menu "Δίκτυο" +{ + "Δίκτυο" f.title + "Claws Mail" f.exec "claws-mail &" + "Firefox" f.exec "firefox &" + "Transmission" f.exec "transmission-gtk &" + "gFTP" f.exec "gftp &" + "ownCloud desktop sync client" f.exec "/usr/bin/owncloud &" + "Αποστολέας μηνυμάτων διαδικτύου Pidgin" f.exec "pidgin &" +} +menu "Εκπαίδευση" +{ + "Εκπαίδευση" f.title + "LibreOffice 4.4 Math" f.exec "libreoffice4.4 --math &" + "R" f.exec "xterm -e R &" +} +menu "Παιχνίδια" +{ + "Παιχνίδια" f.title + "KEGS" f.exec "xterm -e aoss xkegs &" +} +menu "Πολυμέσα" +{ + "Πολυμέσα" f.title + "Asunder CD Ripper" f.exec "asunder &" + "Audacity" f.exec "audacity &" + "Ex Falso" f.exec "exfalso &" + "Exaile" f.exec "exaile &" + "GNOME MPlayer" f.exec "gnome-mplayer &" + "Gaupol" f.exec "gaupol &" + "ISO Master" f.exec "isomaster &" + "Quod Libet" f.exec "quodlibet &" +} +menu "Ρυθμίσεις" +{ + "Ρυθμίσεις" f.title + "Qt4 Config" f.exec "qtconfig &" + "Screensaver" f.exec "xscreensaver-demo &" + "Διαχείριση ενέργειας" f.exec "mate-power-preferences &" + "Διαχειριστής Bluetooth" f.exec "blueman-manager &" +} +menu "Σύστημα" +{ + "Σύστημα" f.title + "Dotnew" f.exec "gksu dotnew-gtk &" + "Grsync" f.exec "/usr/bin/grsync -i &" + "Htop" f.exec "xterm -e htop &" + "Manage Printing" f.exec "/usr/bin/xdg-open http://localhost:631/ &" + "Sourcery - Διαχειριστής SlackBuild" f.exec "gksu sourcery &" + "Ανάλυση χρήσης δίσκου" f.exec "mate-disk-usage-analyzer &" + "Γλώσσα συστήματος" f.exec "gksu gtklocalesetup &" + "Διαχειριστής Πακέτων Gslapt" f.exec "gksu /usr/sbin/gslapt &" + "Επεξεργαστής dconf" f.exec "dconf-editor &" + "Κάρτα ήχου ALSA" f.exec "gksu gtkalsasetup &" + "Ονόματα υπολογιστών" f.exec "gksu gtkhostsetup &" + "Παρακολούθηση αρχείων καταγραφών" f.exec "mate-system-log &" + "Πληκτρολόγιο" f.exec "gksu gtkkeyboardsetup &" + "Ρολόι συστήματος" f.exec "gksu gtkclocksetup &" + "Στατιστικά ενέργειας" f.exec "mate-power-statistics &" + "Τερματικό MATE" f.exec "mate-terminal &" + "Υπηρεσίες συστήματος" f.exec "gksu gtkservicesetup &" + "Χρήστες και ομάδες" f.exec "gksu gtkusersetup &" +}