Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Commit

Permalink
Updated gettext domain to "aptik-gtk"
Browse files Browse the repository at this point in the history
  • Loading branch information
teejee2008 committed Aug 4, 2018
1 parent b01e39f commit c4359ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ all:
clean:
cd src; make clean

aptik-console:
cd src; make aptik-console

install:
cd src; make install

Expand Down
2 changes: 1 addition & 1 deletion src/Gtk/AptikGtk.vala
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class AptikGtk : GLib.Object {

private static void set_locale() {

Intl.setlocale(GLib.LocaleCategory.MESSAGES, "aptik");
Intl.setlocale(GLib.LocaleCategory.MESSAGES, "aptik-gtk");
Intl.textdomain(GETTEXT_PACKAGE);
Intl.bind_textdomain_codeset(GETTEXT_PACKAGE, "utf-8");
Intl.bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR);
Expand Down
4 changes: 2 additions & 2 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mandir=$(sharedir)/man
man1dir=$(mandir)/man1

app_name=aptik-gtk
app_fullname='Aptik NG GTK'
app_fullname='Aptik GTK'

# vte -----------------------------

Expand All @@ -29,7 +29,7 @@ symbols=$(shell echo "${vte_symbol}")

all:
# aptik-gtk
valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" ${symbols} --thread \
valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" ${symbols} --Xcc="-O3" --thread \
*.vala Gtk/*.vala Utility/Console/*.vala Utility/Gtk/*.vala Utility/*.vala \
-o ${app_name} \
--pkg glib-2.0 \
Expand Down

0 comments on commit c4359ac

Please sign in to comment.