[gedit-latex] Mark bibtex actions for translation
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Mark bibtex actions for translation
- Date: Thu, 6 Oct 2011 10:53:14 +0000 (UTC)
commit 5d06d1757553a8e00c6113167be911ec1435e5b2
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Oct 6 12:52:55 2011 +0200
Mark bibtex actions for translation
latex/bibtex/actions.py | 7 ++++---
po/POTFILES.in | 1 +
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/latex/bibtex/actions.py b/latex/bibtex/actions.py
index 5377252..2554552 100644
--- a/latex/bibtex/actions.py
+++ b/latex/bibtex/actions.py
@@ -26,12 +26,13 @@ from logging import getLogger
from gi.repository import Gtk
from ..action import Action
+from ..gldefs import _
from dialogs import InsertBibTeXEntryDialog
class BibTeXMenuAction(Action):
extensions = [".bib"]
- label = "BibTeX"
+ label = _("BibTeX")
stock_id = None
accelerator = None
tooltip = None
@@ -42,10 +43,10 @@ class BibTeXMenuAction(Action):
class BibTeXNewEntryAction(Action):
extensions = [".bib"]
- label = "New BibTeX Entry..."
+ label = _("New BibTeX Entry...")
stock_id = None
accelerator = None
- tooltip = "Create a new BibTeX entry"
+ tooltip = _("Create a new BibTeX entry")
_dialog = None
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4c1187f..2510cce 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -12,6 +12,7 @@ data/org.gnome.gedit.plugins.latex.gschema.xml.in.in
[type: gettext/glade]data/ui/save_as_template_dialog.ui
[type: gettext/glade]data/ui/use_bibliography_dialog.ui
latex.plugin.desktop.in.in
+latex/bibtex/actions.py
latex/bibtex/views.py
latex/latex/views.py
latex/outline.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]