Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1921 and others untranslated terms #1923

Merged
merged 3 commits into from
Feb 17, 2017
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
8 changes: 4 additions & 4 deletions src/QueryView.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ function getQueryFormInput($queryParameters)
extract($queryParameters);

$input = '';
$label = '<label>' . $qrp_Name . '</label>';
$helpMsg = '<div>' . $qrp_Description . '</div>';
$label = '<label>' . gettext($qrp_Name) . '</label>';
$helpMsg = '<div>' . gettext($qrp_Description) . '</div>';

switch ($qrp_Type) {
//Standard INPUT box
Expand All @@ -318,7 +318,7 @@ function getQueryFormInput($queryParameters)
$rsParameterOptions = RunQuery($sSQL);

$input = '<select name="'.$qrp_Alias.'" class="form-control">';
$input .= '<option disabled selected value> -- select an option -- </option>';
$input .= '<option disabled selected value> -- ' . gettext("select an option"). ' -- </option>';

//Loop through the parameter options
while ($ThisRow = mysqli_fetch_array($rsParameterOptions)) {
Expand Down Expand Up @@ -380,7 +380,7 @@ function DisplayParameterForm()
} ?>

<div class="form-group text-right">
<input class="btn btn-primary" type="Submit" value="Execute Query" name="Submit">
<input class="btn btn-primary" type="Submit" value="<?= gettext("Execute Query") ?>" name="Submit">
</div>
</form>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class="box-title"><?= gettext('Thank you for registering your family.'); ?></h3>
<p/>

<div class="text-center">
<a href="<?= SystemURLs::getRootPath() ?>/" class="btn btn-success">Done</a>
<a href="<?= SystemURLs::getRootPath() ?>/" class="btn btn-success"> <?= gettext ("Done") ?> </a>
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class="box-title"><?= gettext('Register').' <b>'.$family->getName().'</b> '.gett
<div class="box">
<div class="box-header with-border">
<h4 class="box-title">
Family Member #<?= $x ?>
<?= gettext ("Family Member") . " #". $x ?>
</h4>
</div>
<div class="box-body">
Expand Down