Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ tests/
.vscode
**/dist/
**/build/
**/*.egg-info
.qtcreator
**/*.egg-info
2 changes: 1 addition & 1 deletion src/PYMD/interface/_lang.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ def show_dialog(self):

def load_lang(self, lang_code:str=None):
__code = lang_code if lang_code is not None else self.lang_code
self.lang_file = f'pymd_{__code}.qm'
self.lang_file = f'bridge_{__code}.qm'
if self.__translator.load(self.lang_file, self.__dir):
self.__app.installTranslator(self.__translator)
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<message>
<location filename="../../dialog_language.ui" line="32"/>
<source>Select Language</source>
<translation>Seleccionar Lenguaje</translation>
<translation>Seleccionar Idioma</translation>
</message>
<message>
<location filename="../../dialog_language.ui" line="138"/>
Expand All @@ -22,12 +22,12 @@
<context>
<name>LanguageManager</name>
<message>
<location filename="../../_lang.py" line="29"/>
<location filename="../../_lang.py" line="32"/>
<source>Save</source>
<translation>Guardar</translation>
</message>
<message>
<location filename="../../_lang.py" line="30"/>
<location filename="../../_lang.py" line="33"/>
<source>Cancel</source>
<translation>Cancelar</translation>
</message>
Expand All @@ -42,68 +42,68 @@
<message>
<location filename="../../_interface.py" line="67"/>
<location filename="../../main_window.ui" line="366"/>
<location filename="../../main_window.ui" line="1473"/>
<location filename="../../main_window.ui" line="1476"/>
<source>Open File</source>
<translation>Abrir Archivo</translation>
<translation>Abrir un archivo</translation>
</message>
<message>
<location filename="../../_interface.py" line="85"/>
<location filename="../../_interface.py" line="102"/>
<location filename="../../_interface.py" line="131"/>
<location filename="../../_interface.py" line="88"/>
<location filename="../../_interface.py" line="100"/>
<location filename="../../_interface.py" line="163"/>
<source>Warning</source>
<translation>Precaución</translation>
</message>
<message>
<location filename="../../_interface.py" line="85"/>
<location filename="../../_interface.py" line="88"/>
<source>The file does not contain plain text (make sure the file content is not just images)</source>
<translation>El archivo NO contiene text plano (Asegúrate de que el contenido del archivo no sean solo imágenes)</translation>
<translation>El archivo no contiene texto plano (asegúrate que el contenido NO sea sólo imágenes)</translation>
</message>
<message>
<location filename="../../_interface.py" line="94"/>
<source>Select a directory</source>
<translation>Seleccione un directorio</translation>
</message>
<message>
<location filename="../../_interface.py" line="102"/>
<location filename="../../_interface.py" line="100"/>
<source>The file is empty</source>
<translation>El archivo está vacío</translation>
</message>
<message>
<location filename="../../_interface.py" line="102"/>
<location filename="../../_interface.py" line="115"/>
<location filename="../../_interface.py" line="131"/>
<location filename="../../_interface.py" line="100"/>
<location filename="../../_interface.py" line="136"/>
<location filename="../../_interface.py" line="163"/>
<source>Accept</source>
<translation>Aceptar</translation>
</message>
<message>
<location filename="../../_interface.py" line="115"/>
<location filename="../../_interface.py" line="107"/>
<source>Select a directory</source>
<translation>Seleccione un directorio</translation>
</message>
<message>
<location filename="../../_interface.py" line="136"/>
<source>Close Program</source>
<translation>Cerrrar programa</translation>
<translation>Cerrar Programa</translation>
</message>
<message>
<location filename="../../_interface.py" line="115"/>
<location filename="../../_interface.py" line="136"/>
<source>Do you want to close this program?</source>
<translation>¿Quieres cerrar el programa?</translation>
<translation>¿Deseas cerrar este programa?</translation>
</message>
<message>
<location filename="../../_interface.py" line="131"/>
<location filename="../../_interface.py" line="163"/>
<source>Extracted content will be deleted once you change the language (unless you have already saved it)</source>
<translation>El contenido extraído será eliminado una vez cambie el idioma (a menos que ya lo hayas guardado)</translation>
<translation>El contenido extraído se eliminará una vez cambie el idioma (A menos que ya lo haya convertido)</translation>
</message>
<message>
<location filename="../../_interface.py" line="148"/>
<location filename="../../_interface.py" line="202"/>
<source>Ok</source>
<translation>Aceptar</translation>
<translation>De Acuerdo</translation>
</message>
<message>
<location filename="../../_interface.py" line="149"/>
<location filename="../../_interface.py" line="205"/>
<source>Cancel</source>
<translation>Cancelar</translation>
</message>
<message>
<location filename="../../main_window.ui" line="246"/>
<source>PYMD - SRM &amp; TRG</source>
<translation>PYMD - SRM Y TRG</translation>
<source>Bridge - Dev2Forge</source>
<translation>Bridge - Dev2Forge</translation>
</message>
<message>
<location filename="../../main_window.ui" line="335"/>
Expand All @@ -113,12 +113,12 @@
<message>
<location filename="../../main_window.ui" line="344"/>
<source>Ctrl+A</source>
<translation></translation>
<translation>Ctrl+A</translation>
</message>
<message>
<location filename="../../main_window.ui" line="469"/>
<source>Markdown</source>
<translation></translation>
<translation>Markdown</translation>
</message>
<message>
<location filename="../../main_window.ui" line="518"/>
Expand All @@ -130,17 +130,24 @@ li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Times New Roman&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:&apos;Gabriola&apos;;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation></translation>
<translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Times New Roman&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:&apos;Gabriola&apos;;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../main_window.ui" line="541"/>
<source>Preview</source>
<translation>Vista previa</translation>
<translation>Vista Previa</translation>
</message>
<message>
<location filename="../../main_window.ui" line="600"/>
<source>Save file to Markdown (.md)</source>
<translation>Guardar archivo como Markdown</translation>
<translation>Guardar archivo como Markdown (.md)</translation>
</message>
<message>
<location filename="../../main_window.ui" line="606"/>
Expand All @@ -151,13 +158,13 @@ li.checked::marker { content: &quot;\2612&quot;; }
<location filename="../../main_window.ui" line="612"/>
<source>Ctrl+Enter</source>
<extracomment>Button to save/convert .md file</extracomment>
<translation></translation>
<translation>Ctrl+Enter</translation>
</message>
<message>
<location filename="../../main_window.ui" line="681"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;©&#xa0;2025 Tutos Rive. Licensed under the &lt;a href=&quot;https://github.com/tutosrive/pymd/blob/main/LICENSE&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#27bf73;&quot;&gt;MIT License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;©2025 &lt;a href=&quot;https://www.dev2forge.software&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#27bf73;&quot;&gt;Dev2Forge&lt;/span&gt;&lt;/a&gt;. Licensed under the &lt;a href=&quot;https://github.com/Dev2Forge/bridge/blob/main/LICENSE&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#27bf73;&quot;&gt;MIT License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<extracomment>Copyright Notice - Footer</extracomment>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;© 2025 Tutos Rive. Bajo &lt;a href=&quot;https://github.com/tutosrive/pymd/blob/main/LICENSE&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#27bf73;&quot;&gt;Licencia MIT&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;©2025 &lt;a href=&quot;https://www.dev2forge.software&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#27bf73;&quot;&gt;Dev2Forge&lt;/span&gt;&lt;/a&gt;. Distribuido Bajo &lt;a href=&quot;https://github.com/Dev2Forge/bridge/blob/main/LICENSE&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#27bf73;&quot;&gt;Licencia MIT&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1215"/>
Expand All @@ -175,102 +182,102 @@ li.checked::marker { content: &quot;\2612&quot;; }
<translation>Ayuda</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1482"/>
<location filename="../../main_window.ui" line="1485"/>
<source>Ctrl+O</source>
<translation></translation>
<translation>Ctrl+O</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1490"/>
<location filename="../../main_window.ui" line="1496"/>
<source>Exit</source>
<translation>Salir</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1499"/>
<location filename="../../main_window.ui" line="1505"/>
<source>Ctrl+W</source>
<translation></translation>
<translation>Ctrl+W</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1510"/>
<location filename="../../main_window.ui" line="1517"/>
<source>About</source>
<translation>Acerca de</translation>
<translation>Acerca De</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1519"/>
<location filename="../../main_window.ui" line="1526"/>
<source>Ctrl+M</source>
<translation></translation>
<translation>Ctrl+M</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1524"/>
<location filename="../../main_window.ui" line="1534"/>
<source>Language</source>
<translation>Idioma</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1527"/>
<location filename="../../main_window.ui" line="1537"/>
<source>Ctrl+L</source>
<translation></translation>
<translation>Ctrl+L</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1532"/>
<source>Theme</source>
<translation>Tema</translation>
<location filename="../../main_window.ui" line="1548"/>
<source>Theme (Soon)</source>
<translation>Apariencia (Pronto)</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1540"/>
<location filename="../../main_window.ui" line="1556"/>
<source>Ctrl+T</source>
<translation></translation>
<translation>Ctrl+T</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1549"/>
<location filename="../../main_window.ui" line="1565"/>
<source>Open Source Licences</source>
<translation>Licencias de código abierto</translation>
<translation>Licencias de Código Abierto</translation>
</message>
<message>
<location filename="../../main_window.ui" line="1574"/>
<source>Ctrl+N</source>
<translation>Ctrl+N</translation>
</message>
</context>
<context>
<name>OSL</name>
<message>
<location filename="../../_osl.py" line="25"/>
<location filename="../../_osl.py" line="26"/>
<source>{__name_library.capitalize()} - original: {__links[__name_library.lower()]}</source>
<translation></translation>
<translation>{__name_library.capitalize()} - original: {__links[__name_library.lower()]}</translation>
</message>
</context>
<context>
<name>about_dialog</name>
<message>
<location filename="../../dialog_about.ui" line="21"/>
<location filename="../../dialog_about.ui" line="33"/>
<source>About</source>
<translation>Acerca de</translation>
</message>
<message>
<location filename="../../dialog_about.ui" line="88"/>
<source>&lt;code&gt;pip install pymd&lt;/code&gt;</source>
<translation></translation>
<translation>Acerca De</translation>
</message>
</context>
<context>
<name>dialog_osl</name>
<message>
<location filename="../../osl.ui" line="32"/>
<location filename="../../osl.ui" line="38"/>
<source>Open Source Licenses - Notice</source>
<translation>Lincencias de código abierto - Aviso</translation>
<translation>Licencias de Código Abierto - Aviso</translation>
</message>
<message>
<location filename="../../osl.ui" line="66"/>
<location filename="../../osl.ui" line="70"/>
<location filename="../../osl.ui" line="72"/>
<location filename="../../osl.ui" line="76"/>
<source>Select a library</source>
<translation>Seleccione una librería</translation>
<translation>Selecciona una librería</translation>
</message>
<message>
<location filename="../../osl.ui" line="75"/>
<location filename="../../osl.ui" line="81"/>
<source>Markitdown</source>
<translation></translation>
<translation>Markitdown</translation>
</message>
<message>
<location filename="../../osl.ui" line="80"/>
<location filename="../../osl.ui" line="86"/>
<source>PySide6</source>
<translation></translation>
<translation>PySide6</translation>
</message>
<message>
<location filename="../../osl.ui" line="190"/>
<location filename="../../osl.ui" line="196"/>
<source>CREDITS</source>
<translation>CRÉDITOS</translation>
</message>
Expand Down
Binary file not shown.
Loading