translation fixes

This commit is contained in:
liranbg 2014-09-11 06:24:52 +03:00
parent fc477a3239
commit 834ee3469e
11 changed files with 721 additions and 471 deletions

View file

@ -9,8 +9,10 @@ TARGET = jceGrade
TEMPLATE = app
RC_FILE = appConfigure.rc
CONFIG += qt c++11
CONFIG += console
CONFIG += console static
TRANSLATIONS = jce_en.ts \
jce_he.ts
FORMS += \
main/mainscreen.ui

BIN
jce_en.qm

Binary file not shown.

480
jce_en.ts
View file

@ -6,248 +6,380 @@
<message>
<location filename="main/mainscreen.ui" line="20"/>
<source>JCE Avg Calculator</source>
<translation>JCE Manager</translation>
<translation>JCE Avg Calculator</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="86"/>
<location filename="main/mainscreen.ui" line="193"/>
<location filename="main/mainscreen.ui" line="178"/>
<source>Login</source>
<translation>Login</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="177"/>
<location filename="main/mainscreen.ui" line="162"/>
<source>Keep login</source>
<translation>Keep login</translation>
</message>
<message>
<source>&lt;color=#000000&gt;Username</source>
<translation type="vanished">Usernameasdfasdg</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="234"/>
<location filename="main/mainscreen.cpp" line="11"/>
<location filename="main/mainscreen.ui" line="240"/>
<source>Username</source>
<translation>Username</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="260"/>
<location filename="main/mainscreen.ui" line="281"/>
<source>Password</source>
<translation>Password</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="306"/>
<source>Courses</source>
<translation>Grade Table</translation>
<location filename="main/mainscreen.ui" line="314"/>
<source>GPA</source>
<translation>GPA</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="343"/>
<location filename="main/mainscreen.ui" line="351"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Get your grades&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>Get Your Grades</translation>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Get your grades&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="346"/>
<location filename="main/mainscreen.ui" line="354"/>
<source>Add</source>
<translation>Add</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="353"/>
<location filename="main/mainscreen.ui" line="361"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Clear table&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>Clear Table</translation>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Clear table&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="356"/>
<location filename="main/mainscreen.ui" line="364"/>
<source>Clear</source>
<translation>Clear</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="380"/>
<location filename="main/mainscreen.ui" line="388"/>
<source>Average:</source>
<translation>Average:</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="428"/>
<source>Settings</source>
<translation>Sattings</translation>
<location filename="main/mainscreen.ui" line="426"/>
<source>Only Main Courses</source>
<translation>Only Main Courses</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="474"/>
<source>Semester</source>
<translation>Senester</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="497"/>
<source>Year</source>
<translation>Year</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="530"/>
<location filename="main/mainscreen.ui" line="439"/>
<source>From</source>
<translation>From</translation>
<translation>&lt;b&gt;From&lt;/b&gt;</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="549"/>
<location filename="main/mainscreen.ui" line="446"/>
<location filename="main/mainscreen.ui" line="512"/>
<source>Year:</source>
<translation>Year:</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="466"/>
<source>Semester:</source>
<translation>Semester:</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="505"/>
<source>To</source>
<translation>To</translation>
<translation>&lt;b&gt;To&lt;/b&gt;</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="655"/>
<source>Only influence Courses</source>
<translation>Only influence Courses</translation>
<location filename="main/mainscreen.ui" line="532"/>
<source>Semester</source>
<translation>Semester</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="683"/>
<source>&amp;About</source>
<translation>&amp;About</translation>
<location filename="main/mainscreen.ui" line="557"/>
<source>Calendar</source>
<translation>Calendar</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="707"/>
<location filename="main/mainscreen.ui" line="595"/>
<source>Get Calendar</source>
<translation>Get Calendar</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="602"/>
<source>Export to CSV</source>
<translation>Export to .CSV</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="642"/>
<source>&amp;File</source>
<translation>&amp;File</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="646"/>
<source>Language</source>
<translation>Language</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="675"/>
<source>Credits</source>
<translation>Credits</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="712"/>
<location filename="main/mainscreen.ui" line="680"/>
<source>Exit</source>
<translation>Exit</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="717"/>
<source>How-To</source>
<translation>How-To</translation>
<location filename="main/mainscreen.ui" line="688"/>
<source>Hebrew</source>
<translation>עברית</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="79"/>
<location filename="main/mainscreen.ui" line="696"/>
<source>English</source>
<translation>English</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="704"/>
<source>OS Default</source>
<translation>OS Default</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="709"/>
<source>How To</source>
<translation>How To</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="73"/>
<source>Connecting</source>
<translation>Connecting</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="77"/>
<source>Connected</source>
<translation>Connected</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="81"/>
<source>Disconnected</source>
<translation>Disconnected</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="119"/>
<source>&amp;Login</source>
<translation>&amp;Login</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="167"/>
<source>&amp;Logout</source>
<translation>Log&amp;out</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="194"/>
<location filename="main/mainscreen.cpp" line="248"/>
<location filename="main/mainscreen.cpp" line="271"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="79"/>
<location filename="main/mainscreen.cpp" line="194"/>
<location filename="main/mainscreen.cpp" line="271"/>
<source>Not Connected</source>
<translation>Not Connected</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>CREDITS-ROOL-UP1</source>
<translation>A tiny Application to calculate your grades average.</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>CREDITS-ROOL-UP2</source>
<translation>This software is licensed under Qt5's </translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>CREDITS-ROOL-UP3</source>
<translation>The source code is available at github:</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>CREDITS-ROOL-UP4</source>
<translation>This front end is Powered by</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>DevBy</source>
<translation>Developed By</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Liran</source>
<translation>Liran Ben Gida</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Sagi</source>
<translation>Sagi Dayan</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Nadav</source>
<translation>Nadav Luzzato</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Tnks</source>
<translation>Thanks to</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Code</source>
<translation>Code</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Name</source>
<translation>Course</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Type</source>
<translation>Type</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Points</source>
<translation>Points</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Hours</source>
<translation>Weekly Hours</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Grade</source>
<translation>Grade</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Additions</source>
<translation>Additions</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP1</source>
<translation>Insert your username and password correctly</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP2</source>
<translation>Login and wait for the ball in the status (buttom) bar to become Green</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP3</source>
<translation>Check the Settings to select your date Interval</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP4</source>
<translation>Press Courses tab and then press the Add button and wait until courses will be loaded into the table</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP5</source>
<translation>Change the once of the grade cell and see your average is changing.</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP6</source>
<translation>Tip: Need to change Date interval? in Courses tab click Clean, then change the date interval then hit the Add button again! :-)</translation>
</message>
<location filename="main/mainscreen.cpp" line="248"/>
<source>Missmatching data</source>
<translation>Missmatching Data</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="284"/>
<source>CREDITS-ROOL-UP1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="285"/>
<source>CREDITS-ROOL-UP2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="286"/>
<source>CREDITS-ROOL-UP3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="288"/>
<source>CREDITS-ROOL-UP4</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="289"/>
<source>DevBy</source>
<translation>Developed By</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="291"/>
<source>Liran</source>
<translation>Liran Ben Gida</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="292"/>
<source>Sagi</source>
<translation>Sagi Dayan</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="304"/>
<source>HELP1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="305"/>
<source>HELP2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="306"/>
<source>HELP3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="307"/>
<source>HELP4</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="308"/>
<source>HELP5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="309"/>
<source>HELP6</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="322"/>
<location filename="main/mainscreen.cpp" line="351"/>
<source>Settings</source>
<translation>Settings</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="322"/>
<location filename="main/mainscreen.cpp" line="336"/>
<location filename="main/mainscreen.cpp" line="351"/>
<source>Your settings will take effect next time you start the program</source>
<translation>Your settings will take effect next time you start the program</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="17"/>
<source>Exported Successfuly!</source>
<translation>Exported Successfuly!</translation>
</message>
<message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="23"/>
<source>&lt;center&gt;Something went wrong...&lt;br&gt;&lt;/center&gt;Maybe: &lt;ul&gt;&lt;li&gt;You Canceled&lt;/li&gt;&lt;li&gt;Unable to save the File - try again&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;&lt;center&gt;In case of a serious problem, please file a bug report.&lt;br&gt;thank you. OpenJCE teem</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Code</source>
<translation>Code</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Name</source>
<translation>Name</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Type</source>
<translation>Type</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Points</source>
<translation>Points</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Hours</source>
<translation>Hours</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Grade</source>
<translation>Grade</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Additions</source>
<translation>Additions</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="36"/>
<source>Please Check Your Username &amp; Password</source>
<translation>Please Check Your Username &amp; Password</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="47"/>
<source>You have been blocked by JCE, please try in a couple of minutes.</source>
<translation>You have been &lt;b&gt;blocked&lt;/b&gt; by JCE, please try in a couple of minutes.</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="53"/>
<source>Please Check Your Internet Connection.</source>
<translation>Please Check Your Internet Connection.</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="67"/>
<source>Receive Request Timeout.</source>
<translation>Receive Request Timeout.</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="74"/>
<source>Send Request Timeout.</source>
<translation>Send Request Timeout.</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="134"/>
<source>
If this message appear without reason, please contact me at liranbg@gmail.com</source>
<translation>
If this message appear without reason, please contact me at liranbg@gmail.com</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="137"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Sunday</source>
<translation>Sunday</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Monday</source>
<translation>Monday</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Tuesday</source>
<translation>Thesday</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Wednesday</source>
<translation>Wednesday</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Thursday</source>
<translation>Thursday</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Friday</source>
<translation>Friday</translation>
</message>
</context>
</TS>

BIN
jce_he.qm

Binary file not shown.

635
jce_he.ts
View file

@ -2,261 +2,384 @@
<!DOCTYPE TS>
<TS version="2.1" language="he_IL">
<context>
<name>MainScreen</name>
<message>
<location filename="main/mainscreen.ui" line="20"/>
<source>JCE Avg Calculator</source>
<translation>JCE Manager</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="86"/>
<location filename="main/mainscreen.ui" line="193"/>
<source>Login</source>
<translation>התחבר</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="177"/>
<source>Keep login</source>
<translation>שמור פרטים</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="234"/>
<location filename="main/mainscreen.cpp" line="11"/>
<source>Username</source>
<translation>שם משתמש</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="260"/>
<source>Password</source>
<translation>סיסמה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="306"/>
<source>Courses</source>
<translation>גיליון ציונים</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="343"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Get your grades&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>קבל את הציונים שלך</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="346"/>
<source>Add</source>
<translation>הוספה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="353"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Clear table&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>נקה טבלה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="356"/>
<source>Clear</source>
<translation>נקה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="380"/>
<source>Average:</source>
<translation>ממוצע:</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="428"/>
<source>Settings</source>
<translation>הגדרות</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="474"/>
<source>Semester</source>
<translation>סמסטר</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="497"/>
<source>Year</source>
<translation>שנה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="530"/>
<source>From</source>
<translation>מסמסטר</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="549"/>
<source>To</source>
<translation>לסמסטר</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="655"/>
<source>Only influence Courses</source>
<translation>רק קורסים בעלי השפעה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="683"/>
<source>&amp;About</source>
<translation>&amp;אודות</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="707"/>
<source>Credits</source>
<translation>אודות</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="712"/>
<source>Exit</source>
<translation>יציאה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="717"/>
<source>How-To</source>
<translation>עזרה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="79"/>
<source>Error</source>
<translation>שגיאה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="79"/>
<source>Not Connected</source>
<translation>לא התחבר</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="218"/>
<source>Connecting</source>
<translation>מנסה להתחבר</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="222"/>
<source>Connected</source>
<translation>מחובר</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Disconnected</source>
<translation>מנותק</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>CREDITS-ROOL-UP1</source>
<translation>אפליקציה קטנה לחישוב ציונים</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>CREDITS-ROOL-UP2</source>
<translation>רישיון השימוש בתוכנה ובקוד הפתוח רשום תחת </translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>CREDITS-ROOL-UP3</source>
<translation>כל קוד המקור של התוכנה נמצא בגיטהאב:</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>CREDITS-ROOL-UP4</source>
<translation>התוכנה פועלת בעזרת המנוע</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>DevBy</source>
<translation>פותח ע"י</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Liran</source>
<translation>לירן בן גידה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Sagi</source>
<translation>שגיא דיין</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Nadav</source>
<translation>נדב לוצטו</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="226"/>
<source>Tnks</source>
<translation>תודה רבה ל</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Code</source>
<translation>קוד קורס</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Name</source>
<translation>קורס</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Type</source>
<translation>סוג</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Points</source>
<translation>נקודות זכות</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Hours</source>
<translation>שעות שבועיות</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Grade</source>
<translation>ציון</translation>
</message>
<message>
<location filename="main/coursestablemanager.cpp" line="15"/>
<source>Additions</source>
<translation>הערות</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP1</source>
<translation>הכנס את שם המשתמש והסיסמה כמו שצריך</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP2</source>
<translation>לחץ התחבר והמתן על שהתוכנה תתחבר, עיגול ירוק למטה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP3</source>
<translation>הכנס להגדרות כדי לבחור את טווח הגיליון</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP4</source>
<translation>לחץ על העמוד של גיליון הציונים ולחץ הוספהת המתן עד שהציונים יופיעו בטבלה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP5</source>
<translation>שנה ושחק עם הציונים כדי לראות את הממוצע משתנה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="276"/>
<source>HELP6</source>
<translation>טיפ: רוצה לשנות את תקופת הזמן? לחץ על נקה, ולאחר מכן שנה את תקופת הזמן ולחץ על הוספה שוב! :-)</translation>
</message>
<name>MainScreen</name>
<message>
<location filename="main/mainscreen.ui" line="20"/>
<source>JCE Avg Calculator</source>
<translation>JCE Avg Calculator</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="86"/>
<location filename="main/mainscreen.ui" line="178"/>
<source>Login</source>
<translation>כניסה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="162"/>
<source>Keep login</source>
<translation>שמור פרטים</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="240"/>
<source>Username</source>
<translation>שם משתמש</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="281"/>
<source>Password</source>
<translation>סיסמה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="314"/>
<source>GPA</source>
<translation>גליון ציונים</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="351"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Get your grades&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;ציונים הצג&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="354"/>
<source>Add</source>
<translation>הוסף</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="361"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Clear table&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;טבלה נקהe&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="364"/>
<source>Clear</source>
<translation>נקה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="388"/>
<source>Average:</source>
<translation>ממוצע:</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="426"/>
<source>Only Main Courses</source>
<translation>הצג קורסים משמעותיים בלבד</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="439"/>
<source>From</source>
<translation>&lt;b&gt;מסמסטר&lt;/b&gt;</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="446"/>
<location filename="main/mainscreen.ui" line="512"/>
<source>Year:</source>
<translation>שנה:</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="466"/>
<source>Semester:</source>
<translation>סמסטר:</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="505"/>
<source>To</source>
<translation>&lt;b&gt;עד סמסטר&lt;/b&gt;</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="532"/>
<source>Semester</source>
<translation>סמסטר</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="557"/>
<source>Calendar</source>
<translation>מערכת שעות</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="595"/>
<source>Get Calendar</source>
<translation>הצג מערכת</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="602"/>
<source>Export to CSV</source>
<translation type="unfinished">CSV ייצא אל קובץ</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="642"/>
<source>&amp;File</source>
<translation>&amp;קובץ</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="646"/>
<source>Language</source>
<translation>שפה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="675"/>
<source>Credits</source>
<translation>קרדיט</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="680"/>
<source>Exit</source>
<translation>יציאה</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="688"/>
<source>Hebrew</source>
<translation>עברית</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="696"/>
<source>English</source>
<translation>English</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="704"/>
<source>OS Default</source>
<translation>ברירת מחדל</translation>
</message>
<message>
<location filename="main/mainscreen.ui" line="709"/>
<source>How To</source>
<translation>עזרה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="73"/>
<source>Connecting</source>
<translation>מתחבר</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="77"/>
<source>Connected</source>
<translation>מחובר</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="81"/>
<source>Disconnected</source>
<translation>מנותק</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="119"/>
<source>&amp;Login</source>
<translation>&amp;התחברות</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="167"/>
<source>&amp;Logout</source>
<translation>&amp;התנתקות</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="194"/>
<location filename="main/mainscreen.cpp" line="248"/>
<location filename="main/mainscreen.cpp" line="271"/>
<source>Error</source>
<translation>שגיאה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="194"/>
<location filename="main/mainscreen.cpp" line="271"/>
<source>Not Connected</source>
<translation>לא מחובר</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="248"/>
<source>Missmatching data</source>
<translation>שגיאה בהכנסת נתונים</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="284"/>
<source>CREDITS-ROOL-UP1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="285"/>
<source>CREDITS-ROOL-UP2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="286"/>
<source>CREDITS-ROOL-UP3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="288"/>
<source>CREDITS-ROOL-UP4</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="289"/>
<source>DevBy</source>
<translation>פותח על ידי</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="291"/>
<source>Liran</source>
<translation>לירן בן גידה</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="292"/>
<source>Sagi</source>
<translation>שגיא דיין</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="304"/>
<source>HELP1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="305"/>
<source>HELP2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="306"/>
<source>HELP3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="307"/>
<source>HELP4</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="308"/>
<source>HELP5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="309"/>
<source>HELP6</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="322"/>
<location filename="main/mainscreen.cpp" line="351"/>
<source>Settings</source>
<translation>הגדרות</translation>
</message>
<message>
<location filename="main/mainscreen.cpp" line="322"/>
<location filename="main/mainscreen.cpp" line="336"/>
<location filename="main/mainscreen.cpp" line="351"/>
<source>Your settings will take effect next time you start the program</source>
<translation>ההגדרות שלך ייכנסו לתוקפן בפעם הבאה שתפעיל את התוכנה</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="17"/>
<source>Exported Successfuly!</source>
<translation>הייצוא הושלם!</translation>
</message>
<message>
<location filename="main/CalendarTab/CalendarManager.cpp" line="23"/>
<source>&lt;center&gt;Something went wrong...&lt;br&gt;&lt;/center&gt;Maybe: &lt;ul&gt;&lt;li&gt;You Canceled&lt;/li&gt;&lt;li&gt;Unable to save the File - try again&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;&lt;center&gt;In case of a serious problem, please file a bug report.&lt;br&gt;thank you. OpenJCE teem</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Code</source>
<translation>קוד קורס</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Name</source>
<translation>שם קורס</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Type</source>
<translation>סוג</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Points</source>
<translation>נק&apos; זכות</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Hours</source>
<translation>שעות</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Grade</source>
<translation>ציון</translation>
</message>
<message>
<location filename="main/CourseTab/coursestablemanager.cpp" line="15"/>
<source>Additions</source>
<translation>תוספת</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="36"/>
<source>Please Check Your Username &amp; Password</source>
<translation>אנא בדוק את שם המשתמש והסיסמה שלך</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="47"/>
<source>You have been blocked by JCE, please try in a couple of minutes.</source>
<translation>נחסמת ע&quot;י האתר, אנא נסה מאוחר יותר.</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="53"/>
<source>Please Check Your Internet Connection.</source>
<translation>בדוק את החיבור שלך לאינטרנט.</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="67"/>
<source>Receive Request Timeout.</source>
<translation>בקשת קבלה נכשלה.</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="74"/>
<source>Send Request Timeout.</source>
<translation>בקשת שליחה נכשלה.</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="134"/>
<source>
If this message appear without reason, please contact me at liranbg@gmail.com</source>
<translation>
אם הודעה זו חוזרת על עצמה ללא סיבה. אנא פנה אל המפתח במייל liranbg@gmail.com</translation>
</message>
<message>
<location filename="main/LoginTab/loginhandler.cpp" line="137"/>
<source>Error</source>
<translation>שגיאה</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Sunday</source>
<translation>ראשון</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Monday</source>
<translation>שני</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Tuesday</source>
<translation>שלישי</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Wednesday</source>
<translation>רביעי</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Thursday</source>
<translation>חמישי</translation>
</message>
<message>
<location filename="src/jceData/Calendar/calendarSchedule.cpp" line="22"/>
<source>Friday</source>
<translation>שישי</translation>
</message>
</context>
</TS>

View file

@ -14,14 +14,14 @@ void CalendarManager::exportCalendarCSV()
if(CSV_Exporter::exportCalendar(this->caliSchedPtr))
{
QMessageBox msgBox;
msgBox.setText("<center>Exported Successfuly!<br><b>HaazZaA!!");
msgBox.setText(QObject::tr("Exported Successfuly!"));
msgBox.exec();
}else
{
QMessageBox msgBox;
msgBox.setIcon(QMessageBox::Critical);
msgBox.setText("<center>Something went wrong...<br></center>Maybe: <ul><li>You Canceled</li><li>Unable to save the File - try again</li></ul><br><br>"
"<b><center>In case of a serious problem, please file a bug report.<br>thank you. OpenJCE teem");
msgBox.setText(QObject::tr("<center>Something went wrong...<br></center>Maybe: <ul><li>You Canceled</li><li>Unable to save the File - try again</li></ul><br><br>"
"<b><center>In case of a serious problem, please file a bug report.<br>thank you. OpenJCE teem"));
msgBox.exec();
}

View file

@ -6,7 +6,6 @@ loginHandler::loginHandler(user *ptr): logggedInFlag(false)
}
void loginHandler::setPointers(QLabel *statusLabelPtr,QLineEdit *pswdEditPtr,QLineEdit *usrnmEditPtr)
{
this->statusLabelPtr = statusLabelPtr;
this->pswdEditPtr = pswdEditPtr;
this->usrnmEditPtr = usrnmEditPtr;
@ -34,7 +33,7 @@ bool loginHandler::makeConnection()
}
case jceLogin::ERROR_ON_VALIDATION:
{
popMessage("Please Check Your Username & Password",false);
popMessage(QObject::tr("Please Check Your Username & Password"),false);
usrnmEditPtr->setDisabled(false);
pswdEditPtr->setDisabled(false);
@ -45,13 +44,13 @@ bool loginHandler::makeConnection()
}
case jceLogin::ERROR_ON_VALIDATION_USER_BLOCKED:
{
popMessage("You have been blocked by JCE, please try in a couple of minutes.");
popMessage(QObject::tr("You have been blocked by JCE, please try in a couple of minutes."));
jceLog->closeAll();
return false;
}
case jceLogin::ERROR_ON_OPEN_SOCKET:
{
popMessage("Please Check Your Internet Connection.");
popMessage(QObject::tr("Please Check Your Internet Connection."));
jceLog->closeAll();
return false;
}
@ -65,14 +64,14 @@ bool loginHandler::makeConnection()
}
case jceLogin::ERROR_ON_GETTING_INFO:
{
popMessage("Recieve Request Time Out.");
popMessage(QObject::tr("Receive Request Timeout."));
jceLog->closeAll();
return false;
break;
}
case jceLogin::ERROR_ON_SEND_REQUEST:
{
popMessage("Send Request Time Out.");
popMessage(QObject::tr("Send Request Timeout."));
jceLog->closeAll();
return false;
break;
@ -132,10 +131,10 @@ int loginHandler::makeCalendarRequest(int year, int semester)
void loginHandler::popMessage(QString message,bool addInfo)
{
if (addInfo)
message.append("\nIf this message appear without reason, please contact me at liranbg@gmail.com");
message.append(QObject::tr("\nIf this message appear without reason, please contact me at liranbg@gmail.com"));
QMessageBox msgBox;
msgBox.setWindowTitle("Error");
msgBox.setWindowTitle(QObject::tr("Error"));
msgBox.setText(message);
msgBox.exec();
msgBox.setFocus();

View file

@ -1,5 +1,6 @@
#ifndef LOGINHANDLER_H
#define LOGINHANDLER_H
#include <QObject>
#include <QString>
#include <QLabel>
#include <QLineEdit>

View file

@ -116,7 +116,7 @@ void MainScreen::uiSetDisconnectMode()
ui->pswdLineEdit->setEnabled(true);
loginHandel->makeDisconnectionRequest();
ui->loginButton->setText("&Login");
ui->loginButton->setText(tr("&Login"));
ui->getCalendarBtn->setDisabled(true);
ui->exportToCVSBtn->setDisabled(true);
ui->ratesButton->setDisabled(true);
@ -164,7 +164,7 @@ void MainScreen::uiSetConnectMode()
if (loginHandel->makeConnection() == true)
{
setLabelConnectionStatus(jceLogin::jceStatus::JCE_YOU_ARE_IN);
ui->loginButton->setText("&Logout");
ui->loginButton->setText(tr("&Logout"));
ui->ratesButton->setEnabled(true);
ui->CoursesTab->setEnabled(true);
ui->exportToCVSBtn->setEnabled(true);
@ -245,7 +245,7 @@ void MainScreen::on_coursesTable_itemChanged(QTableWidgetItem *item)
if (this->courseTableMgr->changes(item->text(),item->row(),item->column()))
ui->avgLCD->display(courseTableMgr->getAvg());
else
QMessageBox::critical(this,"Error","Missmatching data");
QMessageBox::critical(this,tr("Error"),tr("Missmatching data"));
}
void MainScreen::on_clearTableButton_clicked()
{
@ -319,7 +319,7 @@ void MainScreen::on_actionHebrew_triggered()
ui->actionOS_Default->setChecked(false);
qDebug() << "Changed Language to hebrew";
data->setLocal("he");
QMessageBox::information(this,"Settings","will be valid next time you will run the application",QMessageBox::Ok);
QMessageBox::information(this,tr("Settings"),tr("Your settings will take effect next time you start the program"),QMessageBox::Ok);
}
else
ui->actionHebrew->setChecked(true);
@ -333,7 +333,7 @@ void MainScreen::on_actionEnglish_triggered()
ui->actionOS_Default->setChecked(false);
qDebug() << "Changed Language to English";
data->setLocal("en");
QMessageBox::information(this,"Settings","Your settings will take effect next time you start the program",QMessageBox::Ok);
QMessageBox::information(this,"Settings",tr("Your settings will take effect next time you start the program"),QMessageBox::Ok);
}
else
ui->actionEnglish->setChecked(true);
@ -348,7 +348,7 @@ void MainScreen::on_actionOS_Default_triggered()
ui->actionEnglish->setChecked(false);
qDebug() << "Changed Language to OS Default";
data->setLocal("default");
QMessageBox::information(this,"Settings","Your settings will take effect next time you start the program",QMessageBox::Ok);
QMessageBox::information(this,tr("Settings"),tr("Your settings will take effect next time you start the program"),QMessageBox::Ok);
}
else
ui->actionOS_Default->setChecked(true);

View file

@ -61,7 +61,7 @@ background: qlineargradient(spread:pad, x1:0.496, y1:0, x2:0.508, y2:1, stop:0 r
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<property name="documentMode">
<bool>false</bool>
@ -639,7 +639,7 @@ font-size: 15px;
</property>
<widget class="QMenu" name="menuA_about">
<property name="title">
<string>&amp;About</string>
<string>&amp;File</string>
</property>
<widget class="QMenu" name="menuLanguage">
<property name="title">
@ -712,10 +712,23 @@ font-size: 15px;
</widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>usrnmLineEdit</tabstop>
<tabstop>pswdLineEdit</tabstop>
<tabstop>keepLogin</tabstop>
<tabstop>loginButton</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>checkBoxCoursesInfluence</tabstop>
<tabstop>spinBoxCoursesFromYear</tabstop>
<tabstop>spinBoxCoursesFromSemester</tabstop>
<tabstop>spinBoxCoursesToYear</tabstop>
<tabstop>spinBoxCoursesToSemester</tabstop>
<tabstop>ratesButton</tabstop>
<tabstop>clearTableButton</tabstop>
<tabstop>coursesTable</tabstop>
<tabstop>spinBoxYear</tabstop>
<tabstop>spinBoxSemester</tabstop>
<tabstop>getCalendarBtn</tabstop>
<tabstop>clearTableButton</tabstop>
<tabstop>exportToCVSBtn</tabstop>
</tabstops>
<resources>
<include location="../resources/connectionstatus.qrc"/>

View file

@ -27,26 +27,6 @@ int Page::runToActualText(std::string& from, int index)
}
index++;
}
// while(index < (int)from.length())
// {
// if(from[index] == '<')
// {
// index++;
// if(from[index] == '!')
// {
// //!--FileName
// std::string bodyTag = from.substr(index, 11); //!--FileName
// if(bodyTag == "!--FileName") //check if the tag is body tag
// {
// while(from[index] != '>')
// index++;
// return index;
// }
// }
// }
// index++;
//}
return -1;
}