feat(Anaconda): Local Repo
This commit is contained in:
1 parent
fbc5a9c872
commit
6befd049dc
203 files changed
+23997
-7
No files matched your search
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# Makefile for the PO files (translation) catalog
|
||||
#
|
||||
# $Id$
|
||||
|
||||
TOP = ../..
|
||||
|
||||
# What is this package?
|
||||
NLSPACKAGE = python-meh
|
||||
POTFILE = $(NLSPACKAGE).pot
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL_DATA = $(INSTALL) -m 644
|
||||
INSTALL_DIR = /usr/bin/install -d
|
||||
|
||||
# destination directory
|
||||
INSTALL_NLS_DIR = $(RPM_BUILD_ROOT)/usr/share/locale
|
||||
|
||||
# PO catalog handling
|
||||
MSGMERGE = msgmerge -v
|
||||
XGETTEXT = xgettext --default-domain=$(NLSPACKAGE) \
|
||||
--add-comments
|
||||
MSGFMT = msgfmt --statistics --verbose
|
||||
|
||||
# What do we need to do
|
||||
POFILES = $(wildcard *.po)
|
||||
MOFILES = $(patsubst %.po,%.mo,$(POFILES))
|
||||
PYSRC = $(wildcard ../meh/*.py ../meh/ui/*.py)
|
||||
GLADEFILES = $(wildcard ../ui/*.glade)
|
||||
|
||||
all:: update-po $(MOFILES)
|
||||
|
||||
potfile: $(PYSRC) glade-po
|
||||
$(XGETTEXT) -L Python --keyword=_ --keyword=N_ $(PYSRC) tmp/*.h
|
||||
@if cmp -s $(NLSPACKAGE).po $(POTFILE); then \
|
||||
rm -f $(NLSPACKAGE).po; \
|
||||
else \
|
||||
mv -f $(NLSPACKAGE).po $(POTFILE); \
|
||||
fi; \
|
||||
|
||||
glade-po: $(GLADEFILES)
|
||||
rm -rf tmp/
|
||||
for f in $(GLADEFILES); do \
|
||||
intltool-extract --type=gettext/glade -l $$f ;\
|
||||
done
|
||||
|
||||
update-po: Makefile potfile refresh-po
|
||||
|
||||
refresh-po: Makefile
|
||||
for cat in $(POFILES); do \
|
||||
lang=`basename $$cat .po`; \
|
||||
if $(MSGMERGE) $$lang.po $(POTFILE) > $$lang.pot ; then \
|
||||
mv -f $$lang.pot $$lang.po ; \
|
||||
echo "$(MSGMERGE) of $$lang succeeded" ; \
|
||||
else \
|
||||
echo "$(MSGMERGE) of $$lang failed" ; \
|
||||
rm -f $$lang.pot ; \
|
||||
fi \
|
||||
done
|
||||
|
||||
clean:
|
||||
@rm -fv *mo *~ .depend
|
||||
@rm -rf tmp
|
||||
|
||||
install: $(MOFILES)
|
||||
@for n in $(MOFILES); do \
|
||||
l=`basename $$n .mo`; \
|
||||
$(INSTALL_DIR) $(INSTALL_NLS_DIR)/$$l/LC_MESSAGES; \
|
||||
$(INSTALL_DATA) --verbose $$n $(INSTALL_NLS_DIR)/$$l/LC_MESSAGES/$(NLSPACKAGE).mo; \
|
||||
done
|
||||
|
||||
%.mo: %.po
|
||||
$(MSGFMT) -o $@ $<
|
||||
|
||||
.PHONY: missing depend
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-10-05 14:50+0200\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"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: ../meh/handler.py:195
|
||||
msgid ""
|
||||
"Use 'continue' command to quit the debugger and get back to the main menu"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/handler.py:211
|
||||
msgid "Exit the shell to get back to the main menu"
|
||||
msgstr ""
|
||||
|
||||
#. short (one-char) answer meaning "yes"
|
||||
#: ../meh/ui/text.py:75
|
||||
msgid "y"
|
||||
msgstr ""
|
||||
|
||||
#. short (one-char) answer meaning "no"
|
||||
#: ../meh/ui/text.py:78
|
||||
msgid "n"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:145
|
||||
msgid "Save exception"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:158 tmp/exception-dialog.glade.h:1
|
||||
msgid "An unknown error has occurred"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:161
|
||||
msgid "Report Bug"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:162
|
||||
msgid "Run shell"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:163
|
||||
msgid "Quit"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:168
|
||||
msgid "Debug"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:173
|
||||
msgid "What do you want to do now?"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:181
|
||||
msgid "Please make your choice from above: "
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:199
|
||||
msgid "Hit ENTER to continue"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/text.py:213
|
||||
#, python-format
|
||||
msgid "Are you sure you want to exit? [%(yes)s/%(no)s]"
|
||||
msgstr ""
|
||||
|
||||
#: ../meh/ui/gui.py:176
|
||||
msgid "_Exit"
|
||||
msgstr ""
|
||||
|
||||
#: tmp/exception-dialog.glade.h:2
|
||||
msgid ""
|
||||
"This program has encountered an unknown error. You may\n"
|
||||
"report the bug below or quit the program."
|
||||
msgstr ""
|
||||
|
||||
#: tmp/exception-dialog.glade.h:4
|
||||
msgid "_Report Bug"
|
||||
msgstr ""
|
||||
|
||||
#: tmp/exception-dialog.glade.h:5
|
||||
msgid "_Quit"
|
||||
msgstr ""
|
||||
|
||||
#: tmp/exception-dialog.glade.h:6
|
||||
msgid "The output below may help determine the cause of the error:"
|
||||
msgstr ""
|
||||
|
||||
#: tmp/exception-dialog.glade.h:7
|
||||
msgid "'Debug' may take you to tty1."
|
||||
msgstr ""
|
||||
|
||||
#: tmp/exception-dialog.glade.h:8
|
||||
msgid "_Debug"
|
||||
msgstr ""
|
||||
|
||||
#: tmp/exception-dialog.glade.h:9
|
||||
msgid "More _info..."
|
||||
msgstr ""
|
||||
|
||||
#: tmp/exception-dialog.glade.h:10
|
||||
msgid "No additional info available."
|
||||
msgstr ""
|
||||
Reference in new issue
Block a user