From 4084c9f0a864db6ab19fea8f660be28acb746b6e Mon Sep 17 00:00:00 2001 From: tutosrive Date: Wed, 25 Jun 2025 17:38:36 -0500 Subject: [PATCH 1/3] Remove the unused files, into translate/ folder --- src/PYMD/interface/translations/pymd_es_CO.qm | Bin 4021 -> 0 bytes src/PYMD/interface/translations/pymd_es_CO.ts | 223 ------------------ 2 files changed, 223 deletions(-) delete mode 100644 src/PYMD/interface/translations/pymd_es_CO.qm delete mode 100644 src/PYMD/interface/translations/pymd_es_CO.ts diff --git a/src/PYMD/interface/translations/pymd_es_CO.qm b/src/PYMD/interface/translations/pymd_es_CO.qm deleted file mode 100644 index cfd4de31369db1974882d19a69dadcb2f8fbd4dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4021 zcmbVPU2G#)6+YQGYsc$!SJjHHNy9~QyWzJPcrDnF|hAyri6yED$@ z$KDc=Xy(q`Ip@3Qp7Wh^t}8z_PyG5HFMj2B4?ghPr@#Hv+utRk2_CLjmoE{Gm1z9m z6GVrfrqt^xqRjUw^=1jt7?v{xbc>JAVM~&CJrP z|AJg9V?Tcj_Ixw*|LyOwkAG%g_|><7dpno9 z2K(vjxzsmm(0eX-`^GrrzcAIl?^Vpx)X%TGkpIq6x&wcu>o(CnS0On>#Wb)y5o1o6v9br5Qjb|1OGPpz~eya zVq|zXqdAxK1oLQvJKT^=A$9c*9|?PcYA`4uo$dhA8JJe3TP2j`co&9#*pd$L(yWGhcyTD)9k`GTfhIaAfN`R085;cT&_X|<(1%UeE?ZHPa}|s0=3K?)QfHp-^4a_~$XJqZ z$viWBPjXMr=1=FDHV`r_U4$HSUD+-?7R`sU?{Fsj0koB(W`rRY2tLXjn|+q`EL-wI z80ZEsvq11dPw2r6`&`x%_-b*xW63f*9c<08mM=^$3O(DDR+*KQkYg9So?&rggPY~D ztBVb;)CQ)NS^nwi^QTMsf$0AdoQ?!5@B~brt7!4=TfW(6(bR07wXx|!TX$`zUw&jk zZwcFX^hajm`Oy9hFQ1+c zmAMfVT0(_V3vj7zD<3ExC^Ba2y6s(ow%=1}GWJ8NkVTSQaCt6z=HRwTTJ+We$4%-- z&jIc)gYVN+!gUT$O(c_qgi6p=q|+u6tcd4olxz%WI^HZ2m~Yc8<)f7(vL~c6R?v{( zHV`b}w4iA~&&8}vaK!*sgH9jclwB=Y>f^5AUB`D1Pm3rQRb=K8lD>v@)K20oRmmO# zu^*KJWdp+-r!CwIz*FVHhlM)c<04Upgens1n}C*Dfzu3Tm84o*!1{;agA1^tjr$pV zRckIn)_|;syB+Pl4!fGLMN6zvmTCAFkIJVN>`mQUz>U4Gb{l`+?SE}2PTTc^{<Ez8w0*A}FXPxApFtu! zz9>I5eWBI9a0UdeUv6%jgER#S7^=sF1!r60faIln>0;z?fxDs_LYBB@;$qA1$`O>O z2S61aTr)o?6>YJDv{C3PCF2CxK|da$H~g+Jcw99M9*#1V z(F(0$XY+tk=fwt^QXS(Ot|p!r5`&MetkvgnbZo5F*~6^4x-bgv{y|E%VN(Y&Q%SAr z`dj2BKu1}1h3A04%_>Z5l*JS$rg7GSkg z*qMn=$ndm%mQc^iA_JXv#|}0)V(YOjCr<@to1IdJ6L!k - - - - Lang_Dialog - - - Select Language - Seleccione un lenguaje - - - - English - GB - Inglés - GB - - - English - UK - Inglés - UK - - - - Spanish - CO - Español - CO - - - - MainWindow - - - - - Open File - Abrir archivo - - - - Select a file (*pdf *html *docx) - Seleccione un archivo(*pdf *html *docx) - - - - Close Program - Cerrar programa - - - - Do you want to close this program? - ¿Quiere cerrar este programa? - - - - PYMD - SRM & TRG - PYMD - SRM Y TRG - - - - Change language - Cambiar idioma - - - - Ctrl+A - - - - - Markdown - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css"> -p, li { white-space: pre-wrap; } -hr { height: 1px; border-width: 0; } -li.unchecked::marker { content: "\2610"; } -li.checked::marker { content: "\2612"; } -</style></head><body style=" font-family:'Gabriola'; font-size:12pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - - - - - Preview - Vista previa - - - - Save file to Markdown (.md) - Guardar archivo a Markdown (.md) - - - - Convert - Convertir - - - - Ctrl+Enter - Button to save/convert .md file - Botón para guardar/convertir archivo md - - - - - <html><head/><body><p>© 2025 Tutos Rive. Licensed under the <a href="https://github.com/tutosrive/pymd/blob/main/LICENSE"><span style=" text-decoration: underline; color:#27bf73;">MIT License</span></a></p><p><br/></p></body></html> - Copyright Notice - Footer - <html><head/><body><p>© 2025 Tutos Rive. Con <a href="https://github.com/tutosrive/pymd/blob/main/LICENSE"><span style=" text-decoration: underline; color:#27bf73;">Licencia MIT</span></a></p><p><br/></p></body></html> - - - - Menu - Menú - - - - Settings - Ajustes - - - - Help - Ayuda - - - - Ctrl+O - - - - - Exit - Salir - - - - Ctrl+W - - - - - About - Acerca de - - - - Ctrl+M - - - - - Language - Idioma - - - - Ctrl+L - - - - - Theme - Tema - - - - Ctrl+T - - - - - Open Source Licences - Licencias de código abierto - - - - about_dialog - - - About - Acerca de - - - - PYMD - PYMD - - - - dialog_osl - - - Open Source Licenses - Notice - Licencias de código abierto - Aviso - - - - - Select a library - Seleccione una librería - - - - Markitdown - Markitdown - - - - PySide6 - PySide6 - - - - Markdown - Markdown - - - - CREDITS - CRÉDITOS - - - From 0695fc0d1d67d129ff4bf2cd3ebe826743e42519 Mon Sep 17 00:00:00 2001 From: tutosrive Date: Wed, 25 Jun 2025 18:37:54 -0500 Subject: [PATCH 2/3] Fix and updates someone files, read PR Ref #8 --- src/PYMD/interface/dialog_about.ui | 12 ++++++ src/PYMD/interface/main_window.ui | 29 ++++++++++++--- src/PYMD/interface/osl.ui | 8 +++- .../translations/others/IH_en_GB.srm | 13 ++++--- .../translations/others/IH_es_CO.srm | 11 +++--- src/PYMD/interface/ui_dialog_about.py | 2 + src/PYMD/interface/ui_main_window.py | 37 ++++++++++++------- src/PYMD/interface/ui_osl.py | 3 +- 8 files changed, 84 insertions(+), 31 deletions(-) diff --git a/src/PYMD/interface/dialog_about.ui b/src/PYMD/interface/dialog_about.ui index 5711230..69bb825 100644 --- a/src/PYMD/interface/dialog_about.ui +++ b/src/PYMD/interface/dialog_about.ui @@ -11,6 +11,18 @@ 640 + + + 578 + 640 + + + + + 578 + 640 + + Gabriola diff --git a/src/PYMD/interface/main_window.ui b/src/PYMD/interface/main_window.ui index 53bb82f..3bcd287 100644 --- a/src/PYMD/interface/main_window.ui +++ b/src/PYMD/interface/main_window.ui @@ -678,7 +678,7 @@ li.checked::marker { content: "\2612"; } - <html><head/><body><p>© 2025 Tutos Rive. Licensed under the <a href="https://github.com/tutosrive/pymd/blob/main/LICENSE"><span style=" text-decoration: underline; color:#27bf73;">MIT License</span></a></p><p><br/></p></body></html> + <html><head/><body><p>©2025 <a href="https://www.dev2forge.software"><span style=" text-decoration: underline; color:#27bf73;">Dev2Forge</span></a>. Licensed under the <a href="https://github.com/tutosrive/pymd/blob/main/LICENSE"><span style=" text-decoration: underline; color:#27bf73;">MIT License</span></a></p><p><br/></p></body></html> Qt::TextFormat::RichText @@ -1469,6 +1469,9 @@ li.checked::marker { content: "\2612"; } false + + + Open File @@ -1486,6 +1489,9 @@ li.checked::marker { content: "\2612"; } + + + Exit @@ -1504,7 +1510,8 @@ li.checked::marker { content: "\2612"; } - + + :/img/logo-pymd-1:/img/logo-pymd-1 About @@ -1520,6 +1527,9 @@ li.checked::marker { content: "\2612"; } + + + Language @@ -1528,8 +1538,14 @@ li.checked::marker { content: "\2612"; } + + false + + + + - Theme + Theme (Soon) @@ -1542,8 +1558,8 @@ li.checked::marker { content: "\2612"; } - - assets/img/opl.webpassets/img/opl.webp + + :/icons/osl_icon:/icons/osl_icon Open Source Licences @@ -1554,6 +1570,9 @@ li.checked::marker { content: "\2612"; } 12 + + Ctrl+N + diff --git a/src/PYMD/interface/osl.ui b/src/PYMD/interface/osl.ui index 7cef6dd..5c68dfa 100644 --- a/src/PYMD/interface/osl.ui +++ b/src/PYMD/interface/osl.ui @@ -13,10 +13,16 @@ 640 + + + 480 + 640 + + 480 - 661 + 640 diff --git a/src/PYMD/interface/translations/others/IH_en_GB.srm b/src/PYMD/interface/translations/others/IH_en_GB.srm index b37fc46..08e5cf3 100644 --- a/src/PYMD/interface/translations/others/IH_en_GB.srm +++ b/src/PYMD/interface/translations/others/IH_en_GB.srm @@ -9,10 +9,11 @@

Welcome to Pymd

    -

    Shortcuts:

    -
  • - Ctrl + O to open a file
  • -
  • - Ctrl + L to select language
  • -
  • - Ctrl + T to select theme
  • -
  • - Ctrl + T about
  • -
  • - Ctrl + W to exit
  • +

    Keyboard Shortcuts:

    +
  • - Ctrl + O Select a file
  • +
  • - Ctrl + L Select language
  • + +
  • - Ctrl + N Open source licences
  • +
  • - Ctrl + M About
  • +
  • - Ctrl + W Close program
diff --git a/src/PYMD/interface/translations/others/IH_es_CO.srm b/src/PYMD/interface/translations/others/IH_es_CO.srm index 2c95d26..70f55d0 100644 --- a/src/PYMD/interface/translations/others/IH_es_CO.srm +++ b/src/PYMD/interface/translations/others/IH_es_CO.srm @@ -10,9 +10,10 @@

    Atajos de teclado:

    -
  • - Ctrl + O seleccionar un archivo
  • -
  • - Ctrl + L seleccionar lenguaje
  • -
  • - Ctrl + T seleccionar tema
  • -
  • - Ctrl + T acerca de
  • -
  • - Ctrl + W cerrar programa
  • +
  • - Ctrl + O Seleccionar un archivo
  • +
  • - Ctrl + L Seleccionar idioma
  • + +
  • - Ctrl + N Licencias de código abierto
  • +
  • - Ctrl + M Acerca de
  • +
  • - Ctrl + W Cerrar programa
diff --git a/src/PYMD/interface/ui_dialog_about.py b/src/PYMD/interface/ui_dialog_about.py index eb5dc81..87787ce 100644 --- a/src/PYMD/interface/ui_dialog_about.py +++ b/src/PYMD/interface/ui_dialog_about.py @@ -24,6 +24,8 @@ def setupUi(self, about_dialog): if not about_dialog.objectName(): about_dialog.setObjectName(u"about_dialog") about_dialog.resize(578, 640) + about_dialog.setMinimumSize(QSize(578, 640)) + about_dialog.setMaximumSize(QSize(578, 640)) font = QFont() font.setFamilies([u"Gabriola"]) font.setPointSize(20) diff --git a/src/PYMD/interface/ui_main_window.py b/src/PYMD/interface/ui_main_window.py index ed7f742..f56a4c6 100644 --- a/src/PYMD/interface/ui_main_window.py +++ b/src/PYMD/interface/ui_main_window.py @@ -89,29 +89,39 @@ def setupUi(self, MainWindow): self.action_open_file = QAction(MainWindow) self.action_open_file.setObjectName(u"action_open_file") self.action_open_file.setCheckable(False) + icon1 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.DocumentOpen)) + self.action_open_file.setIcon(icon1) self.action_open_file.setFont(font) self.action_open_file.setMenuRole(QAction.MenuRole.TextHeuristicRole) self.action_exit = QAction(MainWindow) self.action_exit.setObjectName(u"action_exit") + icon2 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.ApplicationExit)) + self.action_exit.setIcon(icon2) self.action_exit.setFont(font) self.action_exit.setMenuRole(QAction.MenuRole.TextHeuristicRole) self.action_about = QAction(MainWindow) self.action_about.setObjectName(u"action_about") - icon1 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.HelpAbout)) - self.action_about.setIcon(icon1) + icon3 = QIcon() + icon3.addFile(u":/img/logo-pymd-1", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.action_about.setIcon(icon3) self.action_about.setFont(font) self.action_language = QAction(MainWindow) self.action_language.setObjectName(u"action_language") + icon4 = QIcon(QIcon.fromTheme(u"accessories-character-map")) + self.action_language.setIcon(icon4) self.action_theme = QAction(MainWindow) self.action_theme.setObjectName(u"action_theme") + self.action_theme.setEnabled(False) + icon5 = QIcon(QIcon.fromTheme(u"weather-clear")) + self.action_theme.setIcon(icon5) font1 = QFont() font1.setFamilies([u"Amiri Quran"]) self.action_theme.setFont(font1) self.action_OSL = QAction(MainWindow) self.action_OSL.setObjectName(u"action_OSL") - icon2 = QIcon() - icon2.addFile(u":/icons/osl_icon", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.action_OSL.setIcon(icon2) + icon6 = QIcon() + icon6.addFile(u":/icons/osl_icon", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.action_OSL.setIcon(icon6) self.action_OSL.setFont(font) self.main_window_frame = QWidget(MainWindow) self.main_window_frame.setObjectName(u"main_window_frame") @@ -138,8 +148,7 @@ def setupUi(self, MainWindow): self.language_btn.setObjectName(u"language_btn") self.language_btn.setMinimumSize(QSize(20, 70)) self.language_btn.setFont(font) - icon3 = QIcon(QIcon.fromTheme(u"accessories-character-map")) - self.language_btn.setIcon(icon3) + self.language_btn.setIcon(icon4) self.language_btn.setFlat(False) self.sidebar_layout.addWidget(self.language_btn, 1, 0, 1, 1) @@ -148,8 +157,7 @@ def setupUi(self, MainWindow): self.explorer_btn.setObjectName(u"explorer_btn") self.explorer_btn.setMinimumSize(QSize(20, 70)) self.explorer_btn.setFont(font) - icon4 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.DocumentOpen)) - self.explorer_btn.setIcon(icon4) + self.explorer_btn.setIcon(icon1) #if QT_CONFIG(shortcut) self.explorer_btn.setShortcut(u"") #endif // QT_CONFIG(shortcut) @@ -261,8 +269,8 @@ def setupUi(self, MainWindow): self.convert_btn.setMinimumSize(QSize(0, 40)) self.convert_btn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor)) self.convert_btn.setAutoFillBackground(False) - icon5 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.SyncSynchronizing)) - self.convert_btn.setIcon(icon5) + icon7 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.SyncSynchronizing)) + self.convert_btn.setIcon(icon7) self.frame_views_layout.addWidget(self.convert_btn, 1, 0, 1, 1) @@ -485,11 +493,14 @@ def retranslateUi(self, MainWindow): #if QT_CONFIG(shortcut) self.action_language.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+L", None)) #endif // QT_CONFIG(shortcut) - self.action_theme.setText(QCoreApplication.translate("MainWindow", u"Theme", None)) + self.action_theme.setText(QCoreApplication.translate("MainWindow", u"Theme (Soon)", None)) #if QT_CONFIG(shortcut) self.action_theme.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+T", None)) #endif // QT_CONFIG(shortcut) self.action_OSL.setText(QCoreApplication.translate("MainWindow", u"Open Source Licences", None)) +#if QT_CONFIG(shortcut) + self.action_OSL.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+N", None)) +#endif // QT_CONFIG(shortcut) #if QT_CONFIG(tooltip) self.language_btn.setToolTip(QCoreApplication.translate("MainWindow", u"Change language", None)) #endif // QT_CONFIG(tooltip) @@ -522,7 +533,7 @@ def retranslateUi(self, MainWindow): #if QT_CONFIG(tooltip) self.label.setToolTip("") #endif // QT_CONFIG(tooltip) - self.label.setText(QCoreApplication.translate("MainWindow", u"

\u00a9\u00a02025 Tutos Rive. Licensed under the MIT License


", None)) + self.label.setText(QCoreApplication.translate("MainWindow", u"

\u00a92025 Dev2Forge. Licensed under the MIT License


", None)) self.menu_qt.setTitle(QCoreApplication.translate("MainWindow", u"Menu", None)) self.menu_settings.setTitle(QCoreApplication.translate("MainWindow", u"Preferences", None)) self.menu_help.setTitle(QCoreApplication.translate("MainWindow", u"Help", None)) diff --git a/src/PYMD/interface/ui_osl.py b/src/PYMD/interface/ui_osl.py index de00082..3347d0a 100644 --- a/src/PYMD/interface/ui_osl.py +++ b/src/PYMD/interface/ui_osl.py @@ -26,7 +26,8 @@ def setupUi(self, dialog_osl): dialog_osl.setObjectName(u"dialog_osl") dialog_osl.setWindowModality(Qt.WindowModality.WindowModal) dialog_osl.resize(480, 640) - dialog_osl.setMaximumSize(QSize(480, 661)) + dialog_osl.setMinimumSize(QSize(480, 640)) + dialog_osl.setMaximumSize(QSize(480, 640)) font = QFont() font.setFamilies([u"Gabriola"]) font.setPointSize(12) From 665835c1b322d0a5ed8d4715c74a4cbf8eeee7d6 Mon Sep 17 00:00:00 2001 From: tutosrive Date: Wed, 25 Jun 2025 18:42:57 -0500 Subject: [PATCH 3/3] Fix and updates someone files, read PR Ref #9 --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 39263da..061c7ad 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Tutos Rive +Copyright (c) 2025 Dev2Forge Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal