Skip to content

Commit

Permalink
changing license and about text
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Apr 5, 2011
1 parent c9be26b commit 17892e3
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
3 changes: 3 additions & 0 deletions about
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
A Perfect Calendar Program Writen in Python
Copyleft © 2008-2010 Saeed Rasooli
StarCalendar is distributed under the GNU General Public License
2 changes: 1 addition & 1 deletion license
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
StarCalendar - A Perfect Calendar Program Writen in Python
Copyright © 2008-2010 Saeed Rasooli
Copyright © 2008-2011 Saeed Rasooli
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Expand Down
Binary file modified locale.d/fa.mo
Binary file not shown.
14 changes: 4 additions & 10 deletions locale.d/fa.po
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@

#msgid ""
#msgstr ""
#

## Missing is GTK defalut Fa pack

msgid "_About"
msgstr ""
"_درباره"
Expand Down Expand Up @@ -672,18 +665,18 @@ msgstr ""



msgid "A Perfect Calendar Program Writen in Python\nCopyleft © 2008-2010 Saeed Rasooli\nStarCalendar is distributed under the GNU General Public License"
msgid "aboutText"
msgstr ""

"یک برنامهٔ کامل تقویم که با زبان پایتون نوشته شده است\n"
"کپی‌لفت © ۲۰۰۸-۲۰۱۰ سعید رسولی\n"
"کپی‌لفت © ۲۰۰۸-۲۰۱۱ سعید رسولی\n"
"برنامهٔ StarCalendar تحت مجوز همگانی عمومی گنو (GNU GPL) منتشر شده است"


msgid "licenseText"
msgstr ""
"‫StarCalendar - یک برنامهٔ کامل تقویم که با زبان پایتون نوشته شده است\n"
"کپی‌رایت © ۲۰۰۸-۲۰۰۹ سعید رسولی\n"
"کپی‌رایت © ۲۰۰۸-۲۰۱۱ سعید رسولی\n"
"این یک نرم‌افزار آزاد است؛ شما می‌توانید آن را مجدداً توزیع کنید و/یا تغییر دهید، به شرطی که تحت بندهای مجوز همگانی عمومی گنو (GNU GPL) که توسط بنیاد نرم‌افزار آزاد منتشر شده است، باشد؛ چه نسخهٔ ۳ یا (بنا به انتخاب خود) هر نسخهٔ بعدی این مجوز.\n"
"\n"
"این برنامه منتشر شده است با این امید که مفید واقع شود، اما بدون هیچ گونه ضمانتی؛ حتی بدون ضمانت قابل ارائهٔ تجاری بودنِ کار و یا مناسب بودن برای یک منظور خاص. برای جزئیّات بیشتر، مجوز همگانی عمومی گنو را ببینید.\n"
Expand All @@ -695,6 +688,7 @@ msgstr ""
"مراجعه کنید."



msgid "Select Today"
msgstr ""
"انتخاب امروز"
Expand Down
9 changes: 8 additions & 1 deletion scal2/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,15 @@ def getOsDesc():


licenseText = tr('licenseText')
if licenseText=='licenseText':
if licenseText in ('licenseText', ''):
licenseText = open('%s/license'%rootDir).read()

aboutText = tr('aboutText')
if aboutText in ('aboutText', ''):
aboutText = open('%s/about'%rootDir).read()



weekDayName = (tr('Sunday'), tr('Monday'), tr('Tuesday'), tr('Wednesday'), tr('Thursday'), tr('Friday'), tr('Saturday'))
weekDayNameAb = (tr('Sun'), tr('Mon'), tr('Tue'), tr('Wed'), tr('Thu'), tr('Fri'), tr('Sat'))

Expand Down
2 changes: 1 addition & 1 deletion scal2/ui_gtk/starcal_gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ def __init__(self, trayMode=3):
'Martin Grimme <martin@pycage.de>',
'شورای مرکز تقویم مؤسسهٔ ژئوفیزیک دانشگاه تهران',
'رضا مرادی قیاس آبادی(www.ghiasabadi.com)'])
about.set_comments(_('A Perfect Calendar Program Writen in Python\nCopyleft © 2008-2010 Saeed Rasooli\nStarCalendar is distributed under the GNU General Public License'))
about.set_comments(core.aboutText)
about.set_license(core.licenseText)
about.set_wrap_license(True)
about.connect('delete-event', self.aboutHide)
Expand Down

0 comments on commit 17892e3

Please sign in to comment.