=== modified file 'debian/control' --- debian/control 2010-04-11 06:14:12 +0000 +++ debian/control 2010-04-18 20:00:06 +0000 @@ -6,6 +6,7 @@ # for waf python, # "real" deps + intltool, valac (>= 0.7.10), gobject-introspection (>= 0.6.3), gobject-introspection-glib-2.0, === modified file 'debian/libdesktop-agnostic0.install' --- debian/libdesktop-agnostic0.install 2009-08-12 20:40:07 +0000 +++ debian/libdesktop-agnostic0.install 2010-04-18 20:00:06 +0000 @@ -1,4 +1,5 @@ usr/lib/desktop-agnostic/modules/libda-cfg-type-color.so usr/lib/desktop-agnostic/modules/libda-module-guesser.so usr/lib/*.so.0* +usr/share/locale/ usr/etc/xdg etc/ === modified file 'docs/install.rst' --- docs/install.rst 2010-04-11 07:18:21 +0000 +++ docs/install.rst 2010-04-18 20:00:06 +0000 @@ -51,6 +51,7 @@ * GObject Introspection 0.6.3 or later (requires the development files, to properly detect the correct version) * Vala 0.7.10 +* intltool Build/Runtime (*required*) ~~~~~~~~~~~~~~~~~~~~~~~~~~ === added directory 'po' === added file 'po/LINGUAS' --- po/LINGUAS 1970-01-01 00:00:00 +0000 +++ po/LINGUAS 2010-04-18 20:00:06 +0000 @@ -0,0 +1,2 @@ +# please keep this list sorted alphabetically +en_US@piglatin === added file 'po/POTFILES.in' --- po/POTFILES.in 1970-01-01 00:00:00 +0000 +++ po/POTFILES.in 2010-04-18 20:00:06 +0000 @@ -0,0 +1,5 @@ +# List of source files containing translatable strings. +# Please keep this file sorted alphabetically. +[encoding: UTF-8] +libdesktop-agnostic/ui-icon-chooser-dialog.vala +libdesktop-agnostic/ui-launcher-editor-dialog.vala === added file 'po/en_US@piglatin.po' --- po/en_US@piglatin.po 1970-01-01 00:00:00 +0000 +++ po/en_US@piglatin.po 2010-04-18 20:00:06 +0000 @@ -0,0 +1,103 @@ +# Translatable strings for libdesktop-agnostic. +# Copyright (C) 2009, 2010 Mark Lee +# This file is distributed under the BSD license. +# +# Translators: +# Mark Lee <libdesktop-agnostic@lazymalevolence.com>, 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: libdesktop-agnostic-0.4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-04-18 11:20-0700\n" +"PO-Revision-Date: 2010-04-18 12:46-0800\n" +"Last-Translator: Mark Lee <libdesktop-agnostic@lazymalevolence.com>\n" +"Language-Team: Pig Latin <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: English\n" +"X-Poedit-Country: UNITED STATES\n" +"X-Poedit-SourceCharset: utf-8\n" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:64 +msgid "Select Icon" +msgstr "Elect-say Icon-way" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:75 +msgid "From File" +msgstr "Om-fray Ile-fay" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:78 +msgid "From Theme" +msgstr "Om-fray Eme-thay" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:85 +msgid "Select icon folder" +msgstr "Elect-say icon-way older-fay" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:298 +msgid "Please select an icon." +msgstr "Ease-play elect-say an icon-way." + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:301 +msgid "Error" +msgstr "Error-way" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:92 +msgid "Desktop Entry Editor" +msgstr "Esktop-day Entry-way Editor-way" + +#. Name +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:149 +msgid "_Name:" +msgstr "Ame-_nay:" + +#. Description +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:161 +msgid "_Description:" +msgstr "Escription-_day:" + +#. Exec +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:173 +msgid "_Command:" +msgstr "Ommand-_cay:" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:184 +msgid "_Browse..." +msgstr "Owse-_bray..." + +#. Advanced options +#. TODO look into ResizeMode so that the window shrinks when the expander +#. is un-expanded. +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:194 +msgid "_Advanced" +msgstr "_Advanced-way" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:196 +msgid "Run in _terminal" +msgstr "Un-ray in erminal-_tay" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:203 +msgid "Use _startup notification" +msgstr "Use-way artup-_stay otification-nay" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:249 +msgid "Locate Command" +msgstr "Ocate-lay Ommand-cay" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:283 +msgid "Save As" +msgstr "Ave-say As" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:341 +#, c-format +msgid "" +"An error occurred while trying to save the desktop entry:\n" +"\n" +"%s" +msgstr "" +"An error-way occurred-way ile-whay ying-tray to ave-say the esktop-day entry-way:\n" +"\n" +"%s" + === added file 'po/libdesktop-agnostic.pot' --- po/libdesktop-agnostic.pot 1970-01-01 00:00:00 +0000 +++ po/libdesktop-agnostic.pot 2010-04-18 20:00:06 +0000 @@ -0,0 +1,96 @@ +# Translatable strings for libdesktop-agnostic. +# Copyright (C) 2009, 2010 Mark Lee +# This file is distributed under the BSD license. +# +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: libdesktop-agnostic-0.4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-04-18 11:20-0700\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:64 +msgid "Select Icon" +msgstr "" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:75 +msgid "From File" +msgstr "" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:78 +msgid "From Theme" +msgstr "" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:85 +msgid "Select icon folder" +msgstr "" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:298 +msgid "Please select an icon." +msgstr "" + +#: ../libdesktop-agnostic/ui-icon-chooser-dialog.vala:301 +msgid "Error" +msgstr "" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:92 +msgid "Desktop Entry Editor" +msgstr "" + +#. Name +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:149 +msgid "_Name:" +msgstr "" + +#. Description +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:161 +msgid "_Description:" +msgstr "" + +#. Exec +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:173 +msgid "_Command:" +msgstr "" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:184 +msgid "_Browse..." +msgstr "" + +#. Advanced options +#. TODO look into ResizeMode so that the window shrinks when the expander +#. is un-expanded. +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:194 +msgid "_Advanced" +msgstr "" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:196 +msgid "Run in _terminal" +msgstr "" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:203 +msgid "Use _startup notification" +msgstr "" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:249 +msgid "Locate Command" +msgstr "" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:283 +msgid "Save As" +msgstr "" + +#: ../libdesktop-agnostic/ui-launcher-editor-dialog.vala:341 +#, c-format +msgid "" +"An error occurred while trying to save the desktop entry:\n" +"\n" +"%s" +msgstr "" === added file 'po/wscript' --- po/wscript 1970-01-01 00:00:00 +0000 +++ po/wscript 2010-04-18 20:00:06 +0000 @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# vim: set ft=python + + +def build(bld): + bld.new_task_gen(features='intltool_po', appname='libdesktop-agnostic') === modified file 'wscript' --- wscript 2010-04-11 07:26:33 +0000 +++ wscript 2010-04-18 20:00:06 +0000 @@ -1,6 +1,7 @@ #! /usr/bin/env python # encoding: utf-8 +import intltool import Options import os import Scripting @@ -90,7 +91,7 @@ conf.env['VNUM'] = str(VNUM) conf.check_tool('gnu_dirs') - conf.check_tool('compiler_cc misc vala python') + conf.check_tool('compiler_cc intltool misc python vala') MIN_VALA_VERSION = (0, 7, 10) @@ -183,6 +184,9 @@ # process subfolders from here bld.add_subdirs('libdesktop-agnostic tools tests data python docs') + if bld.env['INTLTOOL']: + bld.add_subdirs('po') + cls = Task.TaskBase.classes['valac'] old = cls.run