[Torrent-search-svnnotify] SF.net SVN: torrent-search:[266] trunk
Status: Inactive
Brought to you by:
glebihan
From: <gle...@us...> - 2011-07-21 10:55:16
|
Revision: 266 http://torrent-search.svn.sourceforge.net/torrent-search/?rev=266&view=rev Author: glebihan Date: 2011-07-21 10:55:05 +0000 (Thu, 21 Jul 2011) Log Message: ----------- Updated Dutch translations Corrected bug on comments and filelist loading Modified Paths: -------------- trunk/TorrentSearch/__init__.py trunk/po files/nl.po trunk/share/locale/nl/LC_MESSAGES/torrent-search.mo Modified: trunk/TorrentSearch/__init__.py =================================================================== --- trunk/TorrentSearch/__init__.py 2011-07-20 17:12:43 UTC (rev 265) +++ trunk/TorrentSearch/__init__.py 2011-07-21 10:55:05 UTC (rev 266) @@ -768,17 +768,19 @@ self.torrent_seeders_label.set_text(str(torrent_result.seeders)) self.torrent_leechers_label.set_text(str(torrent_result.leechers)) self.included_files_lb.clear() - for i in torrent_result.filelist: - self.included_files_lb.append(i) + if torrent_result.filelist: + for i in torrent_result.filelist: + self.included_files_lb.append(i) self.comments_tv.get_buffer().set_text("") - for i in range(len(torrent_result.comments)): - comment = torrent_result.comments[i] - self.comments_tv.get_buffer().insert_with_tags(self.comments_tv.get_buffer().get_end_iter(), "%d. "%(i+1), self.bold_tag) - if comment.user_name: - self.comments_tv.get_buffer().insert_with_tags(self.comments_tv.get_buffer().get_end_iter(), (_("POSTED_BY"))%comment.user_name, self.bold_tag) - if comment.date: - self.comments_tv.get_buffer().insert_with_tags(self.comments_tv.get_buffer().get_end_iter(), " ("+str(comment.date)+")", self.bold_tag) - self.comments_tv.get_buffer().insert_with_tags(self.comments_tv.get_buffer().get_end_iter(), "\n"+comment.content+"\n") + if torrent_result.comments: + for i in range(len(torrent_result.comments)): + comment = torrent_result.comments[i] + self.comments_tv.get_buffer().insert_with_tags(self.comments_tv.get_buffer().get_end_iter(), "%d. "%(i+1), self.bold_tag) + if comment.user_name: + self.comments_tv.get_buffer().insert_with_tags(self.comments_tv.get_buffer().get_end_iter(), (_("POSTED_BY"))%comment.user_name, self.bold_tag) + if comment.date: + self.comments_tv.get_buffer().insert_with_tags(self.comments_tv.get_buffer().get_end_iter(), " ("+str(comment.date)+")", self.bold_tag) + self.comments_tv.get_buffer().insert_with_tags(self.comments_tv.get_buffer().get_end_iter(), "\n"+comment.content+"\n") self.notebook.set_current_page(0) self.show_all() gtk.Dialog.run(self) Modified: trunk/po files/nl.po =================================================================== --- trunk/po files/nl.po 2011-07-20 17:12:43 UTC (rev 265) +++ trunk/po files/nl.po 2011-07-21 10:55:05 UTC (rev 266) @@ -488,16 +488,29 @@ msgid "COMMENTS" msgstr "Commentaar" -# Niet zeker, nog niet echt implemented. -#, fuzzy msgid "RATE" msgstr "Snelheid" -#, fuzzy msgid "TORRENT_DETAILS" msgstr "Torrent informatie" -#, fuzzy msgid "TORRENT_NAME" msgstr "Torrent naam" +msgid "NB_RESULTS_SHOWN" +msgstr "%d resultaten weergegeven" + +msgid "GENERAL_INFORMATIONS" +msgstr "Algemene informatie" + +msgid "INCLUDED_FILES" +msgstr "Bestanden" + +msgid "FILENAME" +msgstr "Bestandsnaam" + +msgid "POSTED_BY" +msgstr "Geplaatst door %s" + +msgid "LOADING_TORRENT_DETAILS" +msgstr "Torrent details laden..." Modified: trunk/share/locale/nl/LC_MESSAGES/torrent-search.mo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |