Skip to content

Commit

Permalink
Merge pull request #485 from GeraldJansen/hamster-directories
Browse files Browse the repository at this point in the history
Rename hamster-time-tracker to hamster everywhere
  • Loading branch information
ederag authored Nov 25, 2019
2 parents 556d31a + 43fdc88 commit a626f40
Show file tree
Hide file tree
Showing 111 changed files with 1,586 additions and 1,602 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion data/edit_activity.ui
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<property name="title" translatable="yes">Add Earlier Activity</property>
<property name="window_position">center</property>
<property name="destroy_with_parent">True</property>
<property name="icon_name">hamster-time-tracker</property>
<property name="icon_name">hamster</property>
<property name="has_resize_grip">True</property>
<signal name="delete-event" handler="on_close" swapped="no"/>
<signal name="key-press-event" handler="on_window_key_pressed" swapped="no"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Type=Application
Terminal=false
_Name=Hamster Time Tracker
_Comment=Your personal time keeping tool
Icon=hamster-time-tracker
Icon=hamster
Exec=@BINDIR@/hamster
Categories=GNOME;GTK;Utility;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>hamster-time-tracker</id>
<id>hamster</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+ and CC-BY-SA-3.0</project_license>
<name>Hamster Time Tracker</name>
Expand All @@ -27,7 +27,7 @@
</ul>
</description>

<launchable type="desktop-id">hamster-time-tracker.desktop</launchable>
<launchable type="desktop-id">hamster.desktop</launchable>

<screenshots>
<screenshot type="default">
Expand Down
62 changes: 31 additions & 31 deletions data/hamster-time-tracker.schemas.in → data/hamster.schemas.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<gconfschemafile>
<schemalist>
<schema>
<key>/schemas/apps/hamster-time-tracker/enable_timeout</key>
<applyto>/apps/hamster-time-tracker/enable_timeout</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/apps/hamster/enable_timeout</key>
<applyto>/apps/hamster/enable_timeout</applyto>
<owner>hamster</owner>
<type>bool</type>
<default>true</default>
<locale name="C">
Expand All @@ -14,9 +14,9 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/hamster-time-tracker/stop_on_shutdown</key>
<applyto>/apps/hamster-time-tracker/stop_on_shutdown</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/apps/hamster/stop_on_shutdown</key>
<applyto>/apps/hamster/stop_on_shutdown</applyto>
<owner>hamster</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
Expand All @@ -27,9 +27,9 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/hamster-time-tracker/notify_interval</key>
<applyto>/apps/hamster-time-tracker/notify_interval</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/apps/hamster/notify_interval</key>
<applyto>/apps/hamster/notify_interval</applyto>
<owner>hamster</owner>
<type>int</type>
<default>27</default>
<locale name="C">
Expand All @@ -41,9 +41,9 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/hamster-time-tracker/notify_on_idle</key>
<applyto>/apps/hamster-time-tracker/notify_on_idle</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/apps/hamster/notify_on_idle</key>
<applyto>/apps/hamster/notify_on_idle</applyto>
<owner>hamster</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
Expand All @@ -55,9 +55,9 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/hamster-time-tracker/day_start_minutes</key>
<applyto>/apps/hamster-time-tracker/day_start_minutes</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/apps/hamster/day_start_minutes</key>
<applyto>/apps/hamster/day_start_minutes</applyto>
<owner>hamster</owner>
<type>int</type>
<default>330</default>
<locale name="C">
Expand All @@ -72,9 +72,9 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/hamster-time-tracker/workspace_tracking</key>
<applyto>/apps/hamster-time-tracker/workspace_tracking</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/apps/hamster/workspace_tracking</key>
<applyto>/apps/hamster/workspace_tracking</applyto>
<owner>hamster</owner>
<type>list</type>
<list_type>string</list_type>
<default>[]</default>
Expand All @@ -89,9 +89,9 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/hamster-time-tracker/workspace_mapping</key>
<applyto>/apps/hamster-time-tracker/workspace_mapping</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/apps/hamster/workspace_mapping</key>
<applyto>/apps/hamster/workspace_mapping</applyto>
<owner>hamster</owner>
<type>list</type>
<list_type>string</list_type>
<default>[]</default>
Expand All @@ -107,9 +107,9 @@


<schema>
<key>/schemas/desktop/gnome/keybindings/hamster-time-tracker/activate_hamster_window</key>
<applyto>/desktop/gnome/keybindings/hamster-time-tracker/activate_hamster_window</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/desktop/gnome/keybindings/hamster/activate_hamster_window</key>
<applyto>/desktop/gnome/keybindings/hamster/activate_hamster_window</applyto>
<owner>hamster</owner>
<type>string</type>
<default></default>
<locale name="C">
Expand All @@ -118,20 +118,20 @@
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/keybindings/hamster-time-tracker/action</key>
<applyto>/desktop/gnome/keybindings/hamster-time-tracker/action</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/desktop/gnome/keybindings/hamster/action</key>
<applyto>/desktop/gnome/keybindings/hamster/action</applyto>
<owner>hamster</owner>
<type>string</type>
<default>hamster-time-tracker toggle</default>
<default>hamster toggle</default>
<locale name="C">
<short>Toggle hamster application window action</short>
<long>Command for toggling visibility of the hamster application window.</long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/keybindings/hamster-time-tracker/name</key>
<applyto>/desktop/gnome/keybindings/hamster-time-tracker/name</applyto>
<owner>hamster-time-tracker</owner>
<key>/schemas/desktop/gnome/keybindings/hamster/name</key>
<applyto>/desktop/gnome/keybindings/hamster/name</applyto>
<owner>hamster</owner>
<type>string</type>
<default>Toggle hamster application window</default>
<locale name="C">
Expand Down
2 changes: 1 addition & 1 deletion data/preferences.ui
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<property name="default_width">450</property>
<property name="default_height">500</property>
<property name="destroy_with_parent">True</property>
<property name="icon_name">hamster-time-tracker</property>
<property name="icon_name">hamster</property>
<signal name="key-press-event" handler="on_preferences_window_key_press" swapped="no"/>
<child>
<object class="GtkVBox" id="big_box">
Expand Down
2 changes: 1 addition & 1 deletion data/report_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" content="hamster-time-tracker" />
<meta name="author" content="hamster" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/base/jquery-ui.css" rel="stylesheet" />
Expand Down
2 changes: 1 addition & 1 deletion data/stats.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<property name="window_position">center</property>
<property name="default_width">800</property>
<property name="default_height">550</property>
<property name="icon_name">hamster-time-tracker</property>
<property name="icon_name">hamster</property>
<signal name="key_press_event" handler="on_window_key_pressed"/>
<signal name="delete_event" handler="on_stats_window_deleted"/>
<child>
Expand Down
28 changes: 14 additions & 14 deletions data/wscript_build
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
# through the recurse("data") command

start_dir = bld.path.find_dir('.')
bld.install_files('${DATADIR}/hamster-time-tracker', start_dir.ant_glob('*.ui'))
bld.install_files('${DATADIR}/hamster-time-tracker', 'hamster.db')
bld.install_files('${DATADIR}/hamster-time-tracker/art', start_dir.ant_glob('art/*.png'))
bld.install_files('${DATADIR}/hamster-time-tracker', 'report_template.html')
bld.install_files('${DATADIR}/hamster', start_dir.ant_glob('*.ui'))
bld.install_files('${DATADIR}/hamster', 'hamster.db')
bld.install_files('${DATADIR}/hamster/art', start_dir.ant_glob('art/*.png'))
bld.install_files('${DATADIR}/hamster', 'report_template.html')

bld.install_files('${DATADIR}/icons/hicolor/16x16/apps', 'art/16x16/hamster-time-tracker.png')
bld.install_files('${DATADIR}/icons/hicolor/22x22/apps', 'art/22x22/hamster-time-tracker.png')
bld.install_files('${DATADIR}/icons/hicolor/32x32/apps', 'art/32x32/hamster-time-tracker.png')
bld.install_files('${DATADIR}/icons/hicolor/48x48/apps', 'art/scalable/hamster-time-tracker.png')
bld.install_files('${DATADIR}/icons/hicolor/scalable/apps','art/scalable/hamster-time-tracker.svg')
bld.install_files('${DATADIR}/icons/hicolor/16x16/apps', 'art/16x16/hamster.png')
bld.install_files('${DATADIR}/icons/hicolor/22x22/apps', 'art/22x22/hamster.png')
bld.install_files('${DATADIR}/icons/hicolor/32x32/apps', 'art/32x32/hamster.png')
bld.install_files('${DATADIR}/icons/hicolor/48x48/apps', 'art/scalable/hamster.png')
bld.install_files('${DATADIR}/icons/hicolor/scalable/apps','art/scalable/hamster.svg')

bld.install_files('${DATADIR}/appdata', 'hamster-time-tracker.metainfo.xml')
bld.install_files('${DATADIR}/appdata', 'hamster.metainfo.xml')

for filename in ["hamster-time-tracker.desktop"]:
for filename in ["hamster.desktop"]:
bld(features = "subst",
source= "%s.in.in" % filename,
target= "%s.in" % filename,
Expand All @@ -27,14 +27,14 @@ bld.add_group()

# process .in files with intl_tool
bld(features = 'intltool_in',
source = 'hamster-time-tracker.schemas.in',
target = 'hamster-time-tracker.schemas',
source = 'hamster.schemas.in',
target = 'hamster.schemas',
install_path = bld.env.schemas_destination,
podir = '../po',
flags = ['-s', '-u'])

bld(features = 'intltool_in',
source = 'hamster-time-tracker.desktop.in',
source = 'hamster.desktop.in',
install_path = '${DATADIR}/applications',
podir = '../po',
flags = ['-d', '-q', '-u'])
2 changes: 1 addition & 1 deletion help/C/backup.page
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<p>
Activities are stored in an SQLite database, located at
<file>~/.local/share/hamster-time-tracker/hamster.db</file>.
<file>~/.local/share/hamster/hamster.db</file>.
The file can be backed up and restored on the go.
The application will reload the data automatically after a short while.
</p>
Expand Down
2 changes: 1 addition & 1 deletion help/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(top_srcdir)/gnome-doc-utils.make
dist-hook: doc-dist-hook

DOC_ID = hamster-time-tracker
DOC_ID = hamster
DOC_INCLUDES = legal.xml
DOC_LINGUAS = cs da de el es fa fr gl hu pl pt_BR ro ru sl te zh_CN zh_HK zh_TW

Expand Down
4 changes: 2 additions & 2 deletions help/cs/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,12 @@ msgstr "Zálohování"
#: C/backup.page:10(p)
msgid ""
"Activities are stored in an SQLite database, located at <file>~/.local/share/"
"hamster-time-tracker/hamster.db</file>. The file can be backed up and restored on "
"hamster/hamster.db</file>. The file can be backed up and restored on "
"the go. The application will reload the data automatically after a short "
"while."
msgstr ""
"Činnosti jsou ukládány do databáze SQLite umístěné v <file>~/.local/share/"
"hamster-time-tracker/hamster.db</file>. Soubor je možné zálohovat a obnovit za "
"hamster/hamster.db</file>. Soubor je možné zálohovat a obnovit za "
"chodu. Aplikace načte data automaticky za chvilku."

#: C/backup.page:17(p)
Expand Down
4 changes: 2 additions & 2 deletions help/da/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -354,12 +354,12 @@ msgstr "Sikkerhedskopi"
#: ../C/backup.page:10(p)
msgid ""
"Activities are stored in an SQLite database, located at <file>~/.local/share/"
"hamster-time-tracker/hamster.db</file>. The file can be backed up and restored on "
"hamster/hamster.db</file>. The file can be backed up and restored on "
"the go. The application will reload the data automatically after a short "
"while."
msgstr ""
"Aktiviteter gemmes i en SQLite-database, placeret i <file>~/.local/share/"
"hamster-time-tracker/hamster.db</file>. Filen kan løbende sikkerhedskopieres og "
"hamster/hamster.db</file>. Filen kan løbende sikkerhedskopieres og "
"gendannes. Programmet vil genindlæse data automatisk efter en kort "
"tidsperiode."

Expand Down
4 changes: 2 additions & 2 deletions help/de/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -394,12 +394,12 @@ msgstr "Datensicherung"
#: C/backup.page:10(p)
msgid ""
"Activities are stored in an SQLite database, located at <file>~/.local/share/"
"hamster-time-tracker/hamster.db</file>. The file can be backed up and restored on "
"hamster/hamster.db</file>. The file can be backed up and restored on "
"the go. The application will reload the data automatically after a short "
"while."
msgstr ""
"Die Tätigkeiten werden in einer SQLite-Datenbank gespeichert, die sich in "
"<file>~/.local/share/hamster-time-tracker/hamster.db</file> befindet. Die Datei "
"<file>~/.local/share/hamster/hamster.db</file> befindet. Die Datei "
"kann gesichert und unmittelbar wiederhergestellt werden. Die Anwendung lädt "
"die Daten automatisch nach einer kurzen Wartezeit neu."

Expand Down
5 changes: 2 additions & 3 deletions help/el/el.po
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ msgid "Backup"
msgstr "Αντίγραφο ασφαλείας"

#: C/backup.page:10(p)
msgid "Activities are stored in an SQLite database, located at <file>~/.local/share/hamster-time-tracker/hamster.db</file>. The file can be backed up and restored on the go. The application will reload the data automatically after a short while."
msgstr "Οι δραστηριότητες αποθηκεύονται σε μια βάση δεδομένων SQLite, που βρίσκεται στο <file>~/.local/share/hamster-time-tracker/hamster.db</file>. Μπορείτε να αντιγράψετε το αρχείο για λόγους ασφαλείας και να το επαναφέρετε ενώ δουλεύετε. Η εφαρμογή θα επαναφέρει τα δεδομένα αυτόματα μετά από ένα σύντομο χρονικό διάστημα."
msgid "Activities are stored in an SQLite database, located at <file>~/.local/share/hamster/hamster.db</file>. The file can be backed up and restored on the go. The application will reload the data automatically after a short while."
msgstr "Οι δραστηριότητες αποθηκεύονται σε μια βάση δεδομένων SQLite, που βρίσκεται στο <file>~/.local/share/hamster/hamster.db</file>. Μπορείτε να αντιγράψετε το αρχείο για λόγους ασφαλείας και να το επαναφέρετε ενώ δουλεύετε. Η εφαρμογή θα επαναφέρει τα δεδομένα αυτόματα μετά από ένα σύντομο χρονικό διάστημα."

#: C/backup.page:17(p)
msgid "For viewing contents of the database we can suggest using the <link href=\"https://addons.mozilla.org/en-US/firefox/addon/5817\"><app>SQLite Manager</app></link> for Mozilla Firefox."
Expand Down Expand Up @@ -253,4 +253,3 @@ msgstr "Μάριος Ζηντίλης <[email protected]>, 2010"
#~ msgstr ""
#~ "<media type=\"image\" mime=\"image/png\" src=\"figures/hamster-logo.png"
#~ "\">Λογότυπο της Καταγραφής χρόνου</media>Καταγραφή χρόνου"

4 changes: 2 additions & 2 deletions help/es/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,12 @@ msgstr "Respaldo"
#: C/backup.page:10(p)
msgid ""
"Activities are stored in an SQLite database, located at <file>~/.local/share/"
"hamster-time-tracker/hamster.db</file>. The file can be backed up and restored on "
"hamster/hamster.db</file>. The file can be backed up and restored on "
"the go. The application will reload the data automatically after a short "
"while."
msgstr ""
"Las actividades se almacenan en una base de datos SQLite ubicada en <file>~/."
"local/share/hamster-time-tracker/hamster.db</file>. El archivo se puede respaldar "
"local/share/hamster/hamster.db</file>. El archivo se puede respaldar "
"y restaurar al vuelo. La aplicación recargará automáticamente los datos tras "
"un corto tiempo."

Expand Down
5 changes: 2 additions & 3 deletions help/fa/fa.po
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ msgid "Backup"
msgstr "پشتیبان"

#: C/backup.page:10(p)
msgid "Activities are stored in an SQLite database, located at <file>~/.local/share/hamster-time-tracker/hamster.db</file>. The file can be backed up and restored on the go. The application will reload the data automatically after a short while."
msgstr "فعالیت‌ها بر روی یک پایگاه داده‌ی SQLite ذخیره شده‌اند، در مسیر <file>~/.local/share/hamster-time-tracker/hamster.db</file> قابل دستیابی می‌باشد. از این طریق پرونده می‌تواند پشتیبان‌گیری و بازیابی شود. برنامه اطلاعات پس از مدت کوتاهی مجددا بار می‌کند."
msgid "Activities are stored in an SQLite database, located at <file>~/.local/share/hamster/hamster.db</file>. The file can be backed up and restored on the go. The application will reload the data automatically after a short while."
msgstr "فعالیت‌ها بر روی یک پایگاه داده‌ی SQLite ذخیره شده‌اند، در مسیر <file>~/.local/share/hamster/hamster.db</file> قابل دستیابی می‌باشد. از این طریق پرونده می‌تواند پشتیبان‌گیری و بازیابی شود. برنامه اطلاعات پس از مدت کوتاهی مجددا بار می‌کند."

#: C/backup.page:17(p)
msgid "For viewing contents of the database we can suggest using the <link href=\"https://addons.mozilla.org/en-US/firefox/addon/5817\"><app>SQLite Manager</app></link> for Mozilla Firefox."
Expand All @@ -226,4 +226,3 @@ msgstr "برای مشاهده‌ی محتویات پایگاه داده ما پ
#: C/index.page:0(None)
msgid "translator-credits"
msgstr "علی‌اکبر نجفیان <[email protected]>/nآرش موسوی <[email protected]>"

4 changes: 2 additions & 2 deletions help/fr/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -392,12 +392,12 @@ msgstr "Sauvegarde"
#: C/backup.page:10(p)
msgid ""
"Activities are stored in an SQLite database, located at <file>~/.local/share/"
"hamster-time-tracker/hamster.db</file>. The file can be backed up and restored on "
"hamster/hamster.db</file>. The file can be backed up and restored on "
"the go. The application will reload the data automatically after a short "
"while."
msgstr ""
"Les activités sont stockées dans une base de données SQLite, dans le fichier "
"<file>~/.local/share/hamster-time-tracker/hamster.db</file>. Ce fichier peut être "
"<file>~/.local/share/hamster/hamster.db</file>. Ce fichier peut être "
"sauvegardé et restauré à n'importe quel moment. L'application recharge "
"automatiquement les données après un court instant."

Expand Down
4 changes: 2 additions & 2 deletions help/gl/gl.po
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,12 @@ msgstr "Copia de seguridade"
#: C/backup.page:10(p)
msgid ""
"Activities are stored in an SQLite database, located at <file>~/.local/share/"
"hamster-time-tracker/hamster.db</file>. The file can be backed up and restored on "
"hamster/hamster.db</file>. The file can be backed up and restored on "
"the go. The application will reload the data automatically after a short "
"while."
msgstr ""
"As actividades almacénanse nunha base de datos SQLite, almacenada en "
"<file>~/.local/share/hamster-time-tracker/hamster.db</file>. Pode facer unha copia "
"<file>~/.local/share/hamster/hamster.db</file>. Pode facer unha copia "
"de seguridade do ficheiro e restáureo cando queira. O aplicativo recargará "
"os datos automáticamente despois dun pequeno tempo."

Expand Down
Loading

0 comments on commit a626f40

Please sign in to comment.