Skip to content

Commit

Permalink
Update ui and translation
Browse files Browse the repository at this point in the history
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
  • Loading branch information
TheJackiMonster committed Dec 7, 2023
1 parent a7abc68 commit 4d79bef
Show file tree
Hide file tree
Showing 41 changed files with 2,971 additions and 2,979 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.msk
*.nja
*.pyc
*.glade~
.cache
.directory
.idea
Expand Down
164 changes: 82 additions & 82 deletions i18n/manuskript_ar_SA.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_ca.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_ca@valencia.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_da.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_de.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_el.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_en_GB.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_eo.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_es.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_fa.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_fi.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_fr.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_he.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_hr.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_hu.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_id.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_it.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_ja.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_ko.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_mr.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_nb_NO.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_nl.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_pl.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_pt.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_pt_BR.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_pt_PT.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_ro.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_ru.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_sk.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_sv.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_ta.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_tr.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_uk.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_zh_CN.ts

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions i18n/manuskript_zh_HANT.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manuskript/ui/about_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Form implementation generated from reading ui file 'manuskript/ui/about_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
Expand Down
201 changes: 96 additions & 105 deletions manuskript/ui/characterInfoDialog.py
Original file line number Diff line number Diff line change
@@ -1,105 +1,96 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'D:\OpensourceWork\manuskript\manuskript\ui\characterInfoDialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_characterInfoDialog(object):
def setupUi(self, characterInfoDialog):
characterInfoDialog.setObjectName("characterInfoDialog")
characterInfoDialog.resize(481, 148)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(characterInfoDialog.sizePolicy().hasHeightForWidth())
characterInfoDialog.setSizePolicy(sizePolicy)
characterInfoDialog.setMinimumSize(QtCore.QSize(481, 148))
characterInfoDialog.setMaximumSize(QtCore.QSize(481, 148))
characterInfoDialog.setTabletTracking(False)
characterInfoDialog.setFocusPolicy(QtCore.Qt.NoFocus)
characterInfoDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedKingdom))
self.gridLayout = QtWidgets.QGridLayout(characterInfoDialog)
self.gridLayout.setObjectName("gridLayout")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_2 = QtWidgets.QLabel(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
self.label_2.setSizePolicy(sizePolicy)
self.label_2.setObjectName("label_2")
self.horizontalLayout_2.addWidget(self.label_2)
self.valueLineEdit = QtWidgets.QLineEdit(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.valueLineEdit.sizePolicy().hasHeightForWidth())
self.valueLineEdit.setSizePolicy(sizePolicy)
self.valueLineEdit.setFocusPolicy(QtCore.Qt.StrongFocus)
self.valueLineEdit.setLayoutDirection(QtCore.Qt.RightToLeft)
self.valueLineEdit.setObjectName("valueLineEdit")
self.horizontalLayout_2.addWidget(self.valueLineEdit)
self.gridLayout.addLayout(self.horizontalLayout_2, 3, 0, 1, 1)
self.horizontalLayout_1 = QtWidgets.QHBoxLayout()
self.horizontalLayout_1.setObjectName("horizontalLayout_1")
self.label = QtWidgets.QLabel(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setObjectName("label")
self.horizontalLayout_1.addWidget(self.label)
self.descriptionLineEdit = QtWidgets.QLineEdit(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.descriptionLineEdit.sizePolicy().hasHeightForWidth())
self.descriptionLineEdit.setSizePolicy(sizePolicy)
self.descriptionLineEdit.setFocusPolicy(QtCore.Qt.StrongFocus)
self.descriptionLineEdit.setLayoutDirection(QtCore.Qt.RightToLeft)
self.descriptionLineEdit.setObjectName("descriptionLineEdit")
self.horizontalLayout_1.addWidget(self.descriptionLineEdit)
self.gridLayout.addLayout(self.horizontalLayout_1, 2, 0, 1, 1)
self.buttonBox = QtWidgets.QDialogButtonBox(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
self.buttonBox.setSizePolicy(sizePolicy)
self.buttonBox.setFocusPolicy(QtCore.Qt.StrongFocus)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1)

self.retranslateUi(characterInfoDialog)
self.buttonBox.accepted.connect(characterInfoDialog.accept)
self.buttonBox.rejected.connect(characterInfoDialog.reject)
QtCore.QMetaObject.connectSlotsByName(characterInfoDialog)
characterInfoDialog.setTabOrder(self.descriptionLineEdit, self.valueLineEdit)

def retranslateUi(self, characterInfoDialog):
_translate = QtCore.QCoreApplication.translate
characterInfoDialog.setWindowTitle(_translate("characterInfoDialog", "Add Character Info"))
self.label_2.setText(_translate("characterInfoDialog", "Value:"))
self.label.setText(_translate("characterInfoDialog", "Name:"))


if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
characterInfoDialog = QtWidgets.QDialog()
ui = Ui_characterInfoDialog()
ui.setupUi(characterInfoDialog)
characterInfoDialog.show()
sys.exit(app.exec_())
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'manuskript/ui/characterInfoDialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_characterInfoDialog(object):
def setupUi(self, characterInfoDialog):
characterInfoDialog.setObjectName("characterInfoDialog")
characterInfoDialog.setWindowModality(QtCore.Qt.WindowModal)
characterInfoDialog.resize(481, 148)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(characterInfoDialog.sizePolicy().hasHeightForWidth())
characterInfoDialog.setSizePolicy(sizePolicy)
characterInfoDialog.setMinimumSize(QtCore.QSize(481, 148))
characterInfoDialog.setMaximumSize(QtCore.QSize(481, 148))
characterInfoDialog.setTabletTracking(False)
characterInfoDialog.setFocusPolicy(QtCore.Qt.NoFocus)
characterInfoDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedKingdom))
self.gridLayout = QtWidgets.QGridLayout(characterInfoDialog)
self.gridLayout.setObjectName("gridLayout")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_2 = QtWidgets.QLabel(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
self.label_2.setSizePolicy(sizePolicy)
self.label_2.setObjectName("label_2")
self.horizontalLayout_2.addWidget(self.label_2)
self.valueLineEdit = QtWidgets.QLineEdit(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.valueLineEdit.sizePolicy().hasHeightForWidth())
self.valueLineEdit.setSizePolicy(sizePolicy)
self.valueLineEdit.setFocusPolicy(QtCore.Qt.StrongFocus)
self.valueLineEdit.setLayoutDirection(QtCore.Qt.RightToLeft)
self.valueLineEdit.setObjectName("valueLineEdit")
self.horizontalLayout_2.addWidget(self.valueLineEdit)
self.gridLayout.addLayout(self.horizontalLayout_2, 3, 0, 1, 1)
self.horizontalLayout_1 = QtWidgets.QHBoxLayout()
self.horizontalLayout_1.setObjectName("horizontalLayout_1")
self.label = QtWidgets.QLabel(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setObjectName("label")
self.horizontalLayout_1.addWidget(self.label)
self.descriptionLineEdit = QtWidgets.QLineEdit(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.descriptionLineEdit.sizePolicy().hasHeightForWidth())
self.descriptionLineEdit.setSizePolicy(sizePolicy)
self.descriptionLineEdit.setFocusPolicy(QtCore.Qt.StrongFocus)
self.descriptionLineEdit.setLayoutDirection(QtCore.Qt.RightToLeft)
self.descriptionLineEdit.setObjectName("descriptionLineEdit")
self.horizontalLayout_1.addWidget(self.descriptionLineEdit)
self.gridLayout.addLayout(self.horizontalLayout_1, 2, 0, 1, 1)
self.buttonBox = QtWidgets.QDialogButtonBox(characterInfoDialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
self.buttonBox.setSizePolicy(sizePolicy)
self.buttonBox.setFocusPolicy(QtCore.Qt.StrongFocus)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1)

self.retranslateUi(characterInfoDialog)
self.buttonBox.accepted.connect(characterInfoDialog.accept) # type: ignore
self.buttonBox.rejected.connect(characterInfoDialog.reject) # type: ignore
QtCore.QMetaObject.connectSlotsByName(characterInfoDialog)
characterInfoDialog.setTabOrder(self.descriptionLineEdit, self.valueLineEdit)

def retranslateUi(self, characterInfoDialog):
_translate = QtCore.QCoreApplication.translate
characterInfoDialog.setWindowTitle(_translate("characterInfoDialog", "Add Character Info"))
self.label_2.setText(_translate("characterInfoDialog", "Value:"))
self.label.setText(_translate("characterInfoDialog", "Name:"))
2 changes: 1 addition & 1 deletion manuskript/ui/listDialog_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Form implementation generated from reading ui file 'manuskript/ui/listDialog_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
Expand Down
2 changes: 1 addition & 1 deletion manuskript/ui/mainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Form implementation generated from reading ui file 'manuskript/ui/mainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
Expand Down
2 changes: 1 addition & 1 deletion manuskript/ui/settings_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Form implementation generated from reading ui file 'manuskript/ui/settings_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
Expand Down

0 comments on commit 4d79bef

Please sign in to comment.