Commit d9f46ded by Ruben Rodriguez

extra/gnome-app-install: Updated AppDescView.py to fix packages with no description failing to load

parent fd3a6981
......@@ -73,7 +73,11 @@ class AppDescView(ReleaseNotesViewer):
try:
# short_desc = ... already looked up the correct translation
# for us.
rough_desc = candidate.package._pcache._records.LongDesc.split("\n",1)[1]
tmp = candidate.package._pcache._records.LongDesc.split("\n",1)
if len(tmp) == 1:
rough_desc = ""
else:
rough_desc = tmp[1]
except AttributeError:
rough_desc = candidate and candidate.raw_description.split("\n",1)[1]
......
gnome-app-install (0.5.60.1ubuntu2trisquel6-4) slaine; urgency=low
* Updated AppDescView.py to fix packages with no description failing
to load
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Thu, 15 Mar 2012 15:17:56 +0100
gnome-app-install (0.5.60.1ubuntu2trisquel6-3) slaine; urgency=low
* Updated AppDescView.py to fix descriptions failing to load in
......
......@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: Sebastian Heinlein <sebi@glatzor.de>\n"
"POT-Creation-Date: 2012-03-15 14:35+0100\n"
"POT-Creation-Date: 2012-03-15 15:18+0100\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"
......@@ -792,13 +792,13 @@ msgstr ""
msgid "Description"
msgstr ""
#: ../AppInstall/widgets/AppDescView.py:104
#: ../AppInstall/widgets/AppDescView.py:108
#, python-format
msgid "%s cannot be installed"
msgstr ""
#. warn that this app is not available on this plattform
#: ../AppInstall/widgets/AppDescView.py:113
#: ../AppInstall/widgets/AppDescView.py:117
#, python-format
msgid ""
"%s cannot be installed on your computer type (%s). Either the application "
......@@ -806,29 +806,29 @@ msgid ""
"computer type."
msgstr ""
#: ../AppInstall/widgets/AppDescView.py:124
#: ../AppInstall/widgets/AppDescView.py:128
#, python-format
msgid ""
"%s is available in the third party software channel '%s'. To install it, "
"please click on the checkbox to activate the software channel."
msgstr ""
#: ../AppInstall/widgets/AppDescView.py:134
#: ../AppInstall/widgets/AppDescView.py:138
msgid "This application is bundled with the following applications: "
msgstr ""
#: ../AppInstall/widgets/AppDescView.py:228
#: ../AppInstall/widgets/AppDescView.py:232
msgid "Screenshot"
msgstr ""
#: ../AppInstall/widgets/AppDescView.py:236
#: ../AppInstall/widgets/AppDescView.py:240
#, python-format
msgid ""
"\n"
"Homepage: %s\n"
msgstr ""
#: ../AppInstall/widgets/AppDescView.py:238
#: ../AppInstall/widgets/AppDescView.py:242
#, python-format
msgid "Version: %s (%s)"
msgstr ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment