Skip to content

Commit

Permalink
added translation calls to qcodo_info.inc.php and updated spanish tra…
Browse files Browse the repository at this point in the history
…nslation
  • Loading branch information
Marcos Sánchez authored and mikeho committed Oct 15, 2010
1 parent f799b09 commit 5399e6d
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 11 deletions.
23 changes: 12 additions & 11 deletions includes/qcodo/_core/assets/qcodo_info.inc.php
@@ -1,6 +1,8 @@
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Qcodo Development Framework - Start Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php _p(QApplication::$EncodingType); ?>" />
<title>Qcodo Development Framework - <?php _t('Start Page'); ?></title>
<style type="text/css">
TD, BODY { font: 12px <?php _p(QFontFamily::Verdana) ?>; }
.title { font: 30px <?php _p(QFontFamily::Verdana) ?>; font-weight: bold; margin-left: -2px;}
Expand All @@ -10,28 +12,27 @@
</style>
</head><body>
<div class="title_action">Qcodo Development Framework <?php _p(QCODO_VERSION); ?></div>
<div class="title">Start Page</div>
<div class="title"><?php _t('Start Page'); ?></div>
<br class="item_divider" />

<span class="heading">It worked!</span><br /><br />
<span class="heading"><?php _t('It worked!'); ?></span><br /><br />

<b> If you are seeing this, then it means that the framework has been successfully installed.</b>
<b> <?php _t('If you are seeing this, then it means that the framework has been successfully installed.'); ?></b>
<br /><br /><br />

Make sure your database connection properties are up to date, and then you can add tables to your database. To codegen, you will want to run the codegen using
the qcodo codegen CLI tool from the command-line:<br />
<?php _t('Make sure your database connection properties are up to date, and then you can add tables to your database. To codegen, you will want to run the codegen using the qcodo codegen CLI tool from the command-line:'); ?><br />

<blockquote style="background-color: #eee; padding: 5px; font-size: 14px; font-weight: bold; ">
<pre>$ <?php _p(realpath(__DEVTOOLS_CLI__)); ?>/qcodo<?php QApplication::$Windows ? _p('.bat'):''; ?> codegen --help</pre>
</blockquote>

After codegenning, you can use either of the following tools to view the "generated" draft pages of your database application:
<?php _t('After codegenning, you can use either of the following tools to view the "generated" draft pages of your database application:'); ?>
<ul>
<li><a href="<?php _p(__VIRTUAL_DIRECTORY__ . __FORM_DRAFTS__) ?>/index.php"><?php _p(__VIRTUAL_DIRECTORY__ . __FORM_DRAFTS__) ?></a> - to view the generated Form Drafts of your database</li>
<li><a href="<?php _p(__VIRTUAL_DIRECTORY__ . __FORM_DRAFTS__) ?>/dashboard/index.php"><?php _p(__VIRTUAL_DIRECTORY__ . __PANEL_DRAFTS__) ?></a> - to view the generated Panel Drafts "dashboard" of your database</li>
<li><a href="<?php _p(__VIRTUAL_DIRECTORY__ . __FORM_DRAFTS__) ?>/index.php"><?php _p(__VIRTUAL_DIRECTORY__ . __FORM_DRAFTS__) ?></a> - <?php _t('to view the generated Form Drafts of your database'); ?></li>
<li><a href="<?php _p(__VIRTUAL_DIRECTORY__ . __FORM_DRAFTS__) ?>/dashboard/index.php"><?php _p(__VIRTUAL_DIRECTORY__ . __PANEL_DRAFTS__) ?></a> - <?php _t('to view the generated Panel Drafts "dashboard" of your database'); ?></li>
</ul>

For more information, please go to the Qcodo website at: <a href="http://www.qcodo.com/">http://www.qcodo.com/</a>
<?php _t('For more information, please go to the Qcodo website at:'); ?><a href="http://www.qcodo.com/">http://www.qcodo.com/</a>
<br /><br /><br />

<?php QApplication::VarDump(); ?>
Expand Down
23 changes: 23 additions & 0 deletions includes/qcodo/_core/i18n/en.po
@@ -1,7 +1,30 @@
# Qcodo Distributed Language File
# for English (default)

#qcodo_info
MsgId "Start Page"
MsgStr "Start Page"

MsgId "It worked!"
MsgStr "It worked!"

MsgId "If you are seeing this, then it means that the framework has been successfully installed."
MsgStr "If you are seeing this, then it means that the framework has been successfully installed."

MsgId "Make sure your database connection properties are up to date, and then you can add tables to your database. To codegen, you will want to run the codegen using the qcodo codegen CLI tool from the command-line:"
MsgStr "Make sure your database connection properties are up to date, and then you can add tables to your database. To codegen, you will want to run the codegen using the qcodo codegen CLI tool from the command-line:"

MsgId "After codegenning, you can use either of the following tools to view the "generated" draft pages of your database application:"
MsgStr "After codegenning, you can use either of the following tools to view the "generated" draft pages of your database application:"

MsgId "to view the generated Form Drafts of your database"
MsgStr "to view the generated Form Drafts of your database"

MsgId "to view the generated Panel Drafts "dashboard" of your database"
MsgStr "to view the generated Panel Drafts "dashboard" of your database"

MsgId "For more information, please go to the Qcodo website at:"
MsgStr "For more information, please go to the Qcodo website at:"

# For QTextBoxBase controls
MsgId "%s is required"
Expand Down
24 changes: 24 additions & 0 deletions includes/qcodo/_core/i18n/es_ar.po
Expand Up @@ -2,6 +2,30 @@
# for Spanish (Argentina)
# Contributed by marcosdsanchez @ thinkclear dot com dot ar

#qcodo_info
MsgId "Start Page"
MsgStr "Página de inicio"

MsgId "It worked!"
MsgStr "Ha funcionado!"

MsgId "If you are seeing this, then it means that the framework has been successfully installed."
MsgStr "Si estás viendo esto, es porque el framework ha sido instalado correctamente."

MsgId "Make sure your database connection properties are up to date, and then you can add tables to your database. To codegen, you will want to run the codegen using the qcodo codegen CLI tool from the command-line:"
MsgStr "Asegurate que la conexión a la base de datos esté actualizada. Luego podrás agregar tablas a tu base. Para codegenerear, deberás ejecutar el siguiente comando desde la linea de comando:"

MsgId "After codegenning, you can use either of the following tools to view the \"generated\" draft pages of your database application:"
MsgStr "Luego de codegenerear, podrás usar los siguientes links para ver las páginas \"borrador\" de tu aplicación:"

MsgId "to view the generated Form Drafts of your database"
MsgStr "para ver los formularios borradores generados de tu base de datos"

MsgId "to view the generated Panel Drafts "dashboard" of your database"
MsgStr "para ver los paneles borradores generados "panel de control" de tu base de datos"

MsgId "For more information, please go to the Qcodo website at:"
MsgStr "Para más información, por favor dirigete al sitio de Qcodo en:"

# For QTextBoxBase controls
MsgId "%s is required"
Expand Down

0 comments on commit 5399e6d

Please sign in to comment.