Skip to content

Commit

Permalink
Add pot file
Browse files Browse the repository at this point in the history
  • Loading branch information
mzanm committed Mar 21, 2024
1 parent b763e8f commit d85bea2
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ addon/doc/en/
*.html
manifest.ini
*.mo
*.pot
*.py[co]
*.nvda-addon
.sconsign.dblite
/[0-9]*.[0-9]*.[0-9]*.json
84 changes: 84 additions & 0 deletions Autoclip.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the 'Autoclip' package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 'Autoclip' '1.2.0'\n"
"Report-Msgid-Bugs-To: 'mzanf4@gmail.com'\n"
"POT-Creation-Date: 2024-03-22 02:08+0300\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"

#: addon\globalPlugins\autoclip\__init__.py:112
#: addon\globalPlugins\autoclip\__init__.py:141
#: addon\globalPlugins\autoclip\__init__.py:150
#: addon\globalPlugins\autoclip\__init__.py:228
msgid "Autoclip"
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:140
#: addon\globalPlugins\autoclip\__init__.py:195
msgid "Toggles Autoclip, Automatic clipboard reading."
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:149
msgid ""
"Toggles if Autoclip should interrupt speech before speaking the clipboard"
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:156
msgid "Enabled \"Interrupt before speaking the clipboard\""
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:159
msgid "Disabled \"Interrupt before speaking the clipboard\""
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:184
msgid "Enabled Automatic Clipboard Reading."
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:188
msgid "Disabled Automatic Clipboard Reading."
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:195
msgid "&Automatic clipboard reading"
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:233
msgid "Always &Interrupt before speaking the clipboard"
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:238
msgid ""
"&Remember automatic clipboard reading after NVDA restart. Required for use "
"in configuration profiles"
msgstr ""

#: addon\globalPlugins\autoclip\__init__.py:242
msgid "&Show in the NVDA tools menu"
msgstr ""

#. Add-on summary, usually the user visible name of the addon.
#. Translators: Summary for this add-on
#. to be shown on installation and add-on information found in Add-ons Manager.
#: buildVars.py:23
msgid "Autoclip, automatically speak clipboard content when it changes"
msgstr ""

#. Add-on description
#. Translators: Long description to be shown for this add-on on add-on information from add-ons manager
#: buildVars.py:26
msgid ""
"Automatically read the contents of the clipboard when a change is detected. "
"Press NVDA + Shift + Control + K to toggle."
msgstr ""
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _(arg):
# pythonSources = ["addon/globalPlugins/*.py"]
# For more information on SCons Glob expressions please take a look at:
# https://scons.org/doc/production/HTML/scons-user/apd.html
pythonSources = []
pythonSources = ["addon/globalPlugins/autoclip/*.py"]

# Files that contain strings for translation. Usually your python sources
i18nSources = pythonSources + ["buildVars.py"]
Expand Down
2 changes: 1 addition & 1 deletion sconstruct
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ for mdFile in env.Glob(os.path.join('addon', 'doc', '*', '*.md')):
# Pot target
i18nFiles = expandGlobs(buildVars.i18nSources)
gettextvars = {
'gettext_package_bugs_address': 'nvda-translations@groups.io',
'gettext_package_bugs_address': 'mzanf4@gmail.com',
'gettext_package_name': buildVars.addon_info['addon_name'],
'gettext_package_version': buildVars.addon_info['addon_version']
}
Expand Down
2 changes: 1 addition & 1 deletion site_scons/site_tools/gettexttool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def exists(env):


def generate(env):
env.SetDefault(gettext_package_bugs_address="example@example.com")
env.SetDefault(gettext_package_bugs_address="None")
env.SetDefault(gettext_package_name="")
env.SetDefault(gettext_package_version="")

Expand Down

0 comments on commit d85bea2

Please sign in to comment.