mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-08-17 04:20:34 +03:00
Updated build scripts; Added Italian translation
This commit is contained in:
parent
94ecbc7939
commit
23ffa7ce0d
@ -4,6 +4,8 @@ backup=`pwd`
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
cd "$DIR"
|
||||
|
||||
sh ./extract-strings.sh
|
||||
|
||||
rm -rf ../builds
|
||||
bzr builddeb --source --native --build-dir ../builds/temp --result-dir ../builds
|
||||
ls -l ../builds
|
||||
|
@ -1,9 +0,0 @@
|
||||
#msgfmt -c po/ca.po -o build/locale/LC_MESSAGES/or/timeshift.mo
|
||||
|
||||
sudo locale-gen or_IN
|
||||
msgfmt -c -v -o timeshift.mo oriya.po
|
||||
sudo mkdir -p /usr/share/locale/or/LC_MESSAGES
|
||||
sudo cp timeshift.mo /usr/share/locale/or/LC_MESSAGES
|
||||
|
||||
echo "Finished"
|
||||
read dummy
|
1150
po/timeshift-it.po
Normal file
1150
po/timeshift-it.po
Normal file
File diff suppressed because it is too large
Load Diff
@ -353,7 +353,7 @@ public class Main : GLib.Object{
|
||||
|
||||
string[] dependencies = { "rsync","/sbin/blkid","df","du","mount","umount","fuser","crontab","cp","rm","touch","ln","sync"}; //"shutdown","chroot",
|
||||
|
||||
log_msg("Checking dependencies...");
|
||||
log_msg(_("Checking dependencies..."));
|
||||
|
||||
string path;
|
||||
foreach(string cmd_tool in dependencies){
|
||||
@ -367,11 +367,11 @@ public class Main : GLib.Object{
|
||||
msg = _("Following dependencies are missing:") + "\n\n" + msg + "\n";
|
||||
msg += _("Please install the packages for the commands \nlisted above and try running TimeShift again.");
|
||||
log_error(msg);
|
||||
log_error("Missing dependencies");
|
||||
log_error(_("Missing dependencies"));
|
||||
return false;
|
||||
}
|
||||
else{
|
||||
log_msg("All dependencies satisfied");
|
||||
log_msg(_("All dependencies satisfied"));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -1057,8 +1057,9 @@ class MainWindow : Gtk.Window{
|
||||
//dialog.artists = {"", ""};
|
||||
dialog.authors = {"Tony George"};
|
||||
dialog.documenters = null;
|
||||
dialog.translator_credits = null;
|
||||
|
||||
dialog.translator_credits = "tomberry88 (Italian)";
|
||||
//dialog.add_credit_section("Sponsors", {"Colin Mills"});
|
||||
|
||||
dialog.program_name = "TimeShift";
|
||||
dialog.comments = _("A System Restore Utility for Linux");
|
||||
dialog.copyright = "Copyright © 2013 Tony George (teejee2008@gmail.com)";
|
||||
@ -1071,10 +1072,7 @@ class MainWindow : Gtk.Window{
|
||||
log_error (e.message);
|
||||
}
|
||||
|
||||
dialog.license =
|
||||
"""
|
||||
This program is free for personal and commercial use and comes with absolutely no warranty. You use this program entirely at your own risk. The author will not be liable for any damages arising from the use of this program.
|
||||
""";
|
||||
dialog.license = "This program is free for personal and commercial use and comes with absolutely no warranty. You use this program entirely at your own risk. The author will not be liable for any damages arising from the use of this program.";
|
||||
dialog.wrap_license = true;
|
||||
|
||||
dialog.website = "http://teejeetech.blogspot.in";
|
||||
|
@ -22,7 +22,8 @@ install:
|
||||
mkdir -p "$(DESTDIR)$(launcherdir)"
|
||||
mkdir -p "$(DESTDIR)$(sharedir)/timeshift"
|
||||
mkdir -p "$(DESTDIR)$(sharedir)/pixmaps"
|
||||
|
||||
mkdir -p "$(DESTDIR)$(localedir)/it_IT/LC_MESSAGES"
|
||||
|
||||
#binary
|
||||
install -m 0755 timeshift "$(DESTDIR)$(bindir)"
|
||||
|
||||
@ -36,6 +37,9 @@ install:
|
||||
#app icon
|
||||
install -m 0755 ./share/pixmaps/timeshift.png "$(DESTDIR)$(sharedir)/pixmaps/"
|
||||
|
||||
#translations
|
||||
msgfmt --check --verbose -o "$(DESTDIR)$(localedir)/it_IT/LC_MESSAGES/timeshift.mo" ../po/timeshift-it.po
|
||||
|
||||
uninstall:
|
||||
|
||||
#binary
|
||||
@ -49,3 +53,6 @@ uninstall:
|
||||
|
||||
#app icon
|
||||
rm -f "$(DESTDIR)$(sharedir)/pixmaps/timeshift.png"
|
||||
|
||||
#translations
|
||||
rm -f "$(DESTDIR)$(localedir)/it_IT/LC_MESSAGES/timeshift.mo"
|
||||
|
442
timeshift.pot
442
timeshift.pot
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
backup=`pwd`
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
cd "$DIR"
|
||||
|
||||
xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008@gmail.com)' --package-name='timeshift' --package-version='1.0' --msgid-bugs-address='teejee2008@gmail.com' --escape --sort-output -o timeshift.pot src/*.vala
|
||||
|
||||
echo "Finished"
|
||||
read dummy
|
||||
cd "$backup"
|
Loading…
Reference in New Issue
Block a user