use set_wrap_license and generalize license to make translation easier
This commit is contained in:
parent
622ab78b94
commit
0e25062af7
|
@ -62,16 +62,15 @@ class AboutDialog:
|
||||||
"Sadrul Habib Chowdhury", "Martijn Voncken"])
|
"Sadrul Habib Chowdhury", "Martijn Voncken"])
|
||||||
self.about.set_artists(["Andrew Wedderburn", "Andrew Resch"])
|
self.about.set_artists(["Andrew Wedderburn", "Andrew Resch"])
|
||||||
self.about.set_translator_credits(_("translator-credits"))
|
self.about.set_translator_credits(_("translator-credits"))
|
||||||
self.about.set_license(_("Deluge is free software, you can redistribute \
|
self.about.set_wrap_license(True)
|
||||||
it and/or\nmodify it under the terms of the GNU General Public\n License as \
|
self.about.set_license(_("This program is free software; you can redistribute \
|
||||||
published by the Free Software Foundation,\neither version 2 of the License, \
|
it and/or modify it under the terms of the GNU General Public License as published by \
|
||||||
or (at your option) any\nlater version. Deluge is distributed in the hope \
|
the Free Software Foundation; either version 2 of the License, or (at your option) any \
|
||||||
that it\nwill be useful, but WITHOUT ANY WARRANTY, without even \nthe implied \
|
later version. This program is distributed in the hope that it will be useful, but \
|
||||||
warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE. See the GNU \
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS \
|
||||||
General\nPublic License for more details. You should have received\na copy of \
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You \
|
||||||
the GNU General Public License along with\nDeluge, but if not, write to the \
|
should have received a copy of the GNU General Public License along with this program; \
|
||||||
Free Software Foundation,\n Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110\
|
if not, see <http://www.gnu.org/licenses>."))
|
||||||
-\n1301 USA"))
|
|
||||||
self.about.set_website("http://deluge-torrent.org")
|
self.about.set_website("http://deluge-torrent.org")
|
||||||
self.about.set_website_label("http://deluge-torrent.org")
|
self.about.set_website_label("http://deluge-torrent.org")
|
||||||
self.about.set_icon(deluge.common.get_logo(32))
|
self.about.set_icon(deluge.common.get_logo(32))
|
||||||
|
|
Loading…
Reference in New Issue