Skip to content

Commit

Permalink
Localization cleanup for colon and case (#1272)
Browse files Browse the repository at this point in the history
* rebase on develop

* gettext Date: -> Date

* Family Name:

* address fields

* state

* Home Phone

* phones

* email

* more cleanup

* more clean up of get text

* more cleanup

* gender

* more cleanup

* fixed mailto:

* cleanup of gettext

* fixed mailto:

* gettext cleanup

* gettext cleanup
  • Loading branch information
DawoudIO authored Nov 11, 2016
1 parent ee706cb commit ff2e165
Show file tree
Hide file tree
Showing 56 changed files with 335 additions and 335 deletions.
14 changes: 7 additions & 7 deletions src/AutoPaymentEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ function CreatePaymentMethod()
<table cellpadding="1" align="center">

<tr>
<td class="LabelColumn"><?= gettext("Family:") ?></td>
<td class="LabelColumn"><?= gettext("Family") ?>:</td>
<td class="TextColumn">
<select name="Family" size="8">
<option value="0" selected><?= gettext("Unassigned") ?></option>
Expand Down Expand Up @@ -612,12 +612,12 @@ function CreatePaymentMethod()
</tr>

<tr>
<td class="LabelColumn"><?= gettext("Date:") ?></td>
<td class="LabelColumn"><?= gettext("Date") ?>:</td>
<td class="TextColumn"><input type="text" name="NextPayDate" value="<?= $dNextPayDate ?>" maxlength="10" id="NextPayDate" size="11" class="form-control pull-right active date-picker"></td>
</tr>

<tr>
<td class="LabelColumn"><?= gettext("Fiscal Year:") ?></td>
<td class="LabelColumn"><?= gettext("Fiscal Year") ?>:</td>
<td class="TextColumnWithBottomBorder">
<?php PrintFYIDSelect ($iFYID, "FYID") ?>
</td>
Expand All @@ -634,7 +634,7 @@ function CreatePaymentMethod()
</tr>

<tr>
<td class="LabelColumn"><?= gettext("Fund:") ?></td>
<td class="LabelColumn"><?= gettext("Fund") ?>:</td>
<td class="TextColumn">
<select name="Fund">
<option value="0"><?= gettext("None") ?></option>
Expand All @@ -658,12 +658,12 @@ function CreatePaymentMethod()
</tr>

<tr>
<td class="LabelColumn"><?= gettext("First name") ?></td>
<td class="LabelColumn"><?= gettext("First Name") ?></td>
<td class="TextColumn"><input type="text" id="FirstName" name="FirstName" value="<?= $tFirstName ?>"></td>
</tr>

<tr>
<td class="LabelColumn"><?= gettext("Last name") ?></td>
<td class="LabelColumn"><?= gettext("Last Name") ?></td>
<td class="TextColumn"><input type="text" id="LastName" name="LastName" value="<?= $tLastName ?>"></td>
</tr>

Expand All @@ -688,7 +688,7 @@ function CreatePaymentMethod()
</tr>

<tr>
<td class="LabelColumn"><?= gettext("Zip code") ?></td>
<td class="LabelColumn"><?= gettext("Zip") ?></td>
<td class="TextColumn"><input type="text" id="Zip" name="Zip" value="<?= $tZip ?>"></td>
</tr>

Expand Down
6 changes: 3 additions & 3 deletions src/BackupDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</ul>
<BR><BR>
<form method="post" action="<?= sRootPath ?>/api/database/backup" id="BackupDatabase">
<?= gettext("Select archive type:") ?>
<?= gettext("Select archive type") ?>:
<?php if ($hasGZIP) { ?><input type="radio" name="archiveType" value="0"><?= gettext("GZip") ?><?php } ?>
<!--<?php if ($hasZIP) { ?><input type="radio" name="archiveType" value="1"><?= gettext("Zip") ?><?php } ?>-->
<input type="radio" name="archiveType" value="2" checked><?= gettext("Uncompressed") ?>
Expand All @@ -64,8 +64,8 @@
<?php if ($hasPGP) { ?>
<input type="checkbox" name="encryptBackup" value="1"><?= gettext("Encrypt backup file with a password?") ?>
&nbsp;&nbsp;&nbsp;
<?= gettext("Password:") ?><input type="password" name="pw1">
<?= gettext("Re-type Password:") ?><input type="password" name="pw2">
<?= gettext("Password") ?>:<input type="password" name="pw1">
<?= gettext("Re-type Password") ?>:<input type="password" name="pw2">
<BR><span id="passworderror" style="color: red"></span><BR><BR>
<?php } ?>
<input type="button" class="btn btn-primary" id="doBackup" <?= 'value="' . gettext("Generate and Download Backup") . '"' ?>>
Expand Down
62 changes: 31 additions & 31 deletions src/CSVExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,111 +79,111 @@
</div>
<div class="box-body">
<div class="col-md-4">
<label><?= gettext("Last Name:") ?></label>
<label><?= gettext("Last Name") ?>:</label>
<?= gettext("Required") ?>
</div>


<div class="col-md-4">
<label><?= gettext("Title:") ?></label>
<label><?= gettext("Title") ?>:</label>
<input type="checkbox" name="Title" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("First Name:") ?></label>
<div class="col-md-4">
<label><?= gettext("First Name") ?>:</label>
<input type="checkbox" name="FirstName" value="1" checked>
</div>

<div class="col-md-4">
<label><?= gettext("Middle Name:") ?></label>
<label><?= gettext("Middle Name") ?>:</label>
<input type="checkbox" name="MiddleName" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Suffix:") ?></label>
<label><?= gettext("Suffix") ?>:</label>
<input type="checkbox" name="Suffix" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Address1:") ?></label>
<label><?= gettext("Address1") ?>:</label>
<input type="checkbox" name="Address1" value="1" checked>
</div>

<div class="col-md-4">
<label><?= gettext("Address2:") ?></label>
<label><?= gettext("Address2") ?>:</label>
<input type="checkbox" name="Address2" value="1" checked>
</div>

<div class="col-md-4">
<label><?= gettext("City:") ?></label>
<label><?= gettext("City") ?>:</label>
<input type="checkbox" name="City" value="1" checked>
</div>

<div class="col-md-4">
<label><?= gettext("State:") ?></label>
<label><?= gettext("State") ?>:</label>
<input type="checkbox" name="State" value="1" checked>
</div>

<div class="col-md-4">
<label><?= gettext("Zip:") ?></label>
<label><?= gettext("Zip") ?>:</label>
<input type="checkbox" name="Zip" value="1" checked>
</div>

<div class="col-md-4">
<label><?= gettext("Envelope:") ?></label>
<label><?= gettext("Envelope") ?>:</label>
<input type="checkbox" name="Envelope" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Country:") ?></label>
<label><?= gettext("Country") ?>:</label>
<input type="checkbox" name="Country" value="1" checked>
</div>

<div class="col-md-4">
<label><?= gettext("Home Phone:") ?></label>
<label><?= gettext("Home Phone") ?>:</label>
<input type="checkbox" name="HomePhone" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Work Phone:") ?></label>
<label><?= gettext("Work Phone") ?>:</label>
<input type="checkbox" name="WorkPhone" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Mobile Phone:") ?></label>
<label><?= gettext("Mobile Phone") ?>:</label>
<input type="checkbox" name="CellPhone" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Email:") ?></label>
<label><?= gettext("Email") ?>:</label>
<input type="checkbox" name="Email" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Work/Other Email:") ?></label>
<label><?= gettext("Work/Other Email") ?>:</label>
<input type="checkbox" name="WorkEmail" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Membership Date:") ?></label>
<label><?= gettext("Membership Date") ?>:</label>
<input type="checkbox" name="MembershipDate" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("* Birth / Anniversary Date:") ?></label>
<label>* <?= gettext("Birth / Anniversary Date") ?>:</label>
<input type="checkbox" name="BirthdayDate" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("* Age / Years Married:") ?></label>
<label>* <?= gettext("Age / Years Married") ?>:</label>
<input type="checkbox" name="Age" value="1">
</div>

<div class="col-md-4">
<label><?= gettext("Family Role:") ?></label>
<label><?= gettext("Family Role") ?>:</label>
<input type="checkbox" name="PrintFamilyRole" value="1">
</div>
<?= gettext("* Depends whether using person or family output method") ?>
* <?= gettext("Depends whether using person or family output method") ?>
</div>
</div>

Expand Down Expand Up @@ -248,7 +248,7 @@
</table>
</div>
</div>
</div>
</div>
</div>
<?php } ?>

Expand All @@ -262,7 +262,7 @@
<div class="col-lg-4">
<div class="box box-danger collapsed-box">
<div class="box-header with-border">
<h3 class="box-title"><?= gettext("Records to export:") ?></h3>
<h3 class="box-title"><?= gettext("Records to export") ?>:</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
</button>
Expand All @@ -281,7 +281,7 @@
<div class="col-lg-4">
<div class="box box-danger collapsed-box">
<div class="box-header with-border">
<h3 class="box-title"><?= gettext("Classification:") ?></h3>
<h3 class="box-title"><?= gettext("Classification") ?>:</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
</button>
Expand All @@ -308,7 +308,7 @@
<div class="col-lg-4">
<div class="box box-danger collapsed-box">
<div class="box-header with-border">
<h3 class="box-title"><?= gettext("Family Role:") ?></h3>
<h3 class="box-title"><?= gettext("Family Role") ?>:</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
</button>
Expand All @@ -335,7 +335,7 @@
<div class="col-lg-4">
<div class="box box-danger collapsed-box">
<div class="box-header with-border">
<h3 class="box-title"><?= gettext("Gender:") ?></h3>
<h3 class="box-title"><?= gettext("Gender") ?>:</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
</button>
Expand All @@ -355,7 +355,7 @@
<div class="col-lg-4">
<div class="box box-danger collapsed-box">
<div class="box-header with-border">
<h3 class="box-title"><?= gettext("Group Membership:") ?></h3>
<h3 class="box-title"><?= gettext("Group Membership") ?>:</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
</button>
Expand All @@ -380,7 +380,7 @@
<div class="col-lg-4">
<div class="box box-danger collapsed-box">
<div class="box-header with-border">
<h3 class="box-title"><?= gettext("Membership Date:") ?></h3>
<h3 class="box-title"><?= gettext("Membership Date") ?>:</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
</button>
Expand All @@ -397,7 +397,7 @@
<div class="col-lg-4">
<div class="box box-danger collapsed-box">
<div class="box-header with-border">
<h3 class="box-title"><?= gettext("Birthday Date:") ?></h3>
<h3 class="box-title"><?= gettext("Birthday Date") ?>:</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/CanvassEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
?>

<tr>
<td class="LabelColumn"><?= gettext("Date:") ?></td>
<td class="LabelColumn"><?= gettext("Date") ?>:</td>
<td class="TextColumn"><input type="text" name="Date" value="<?= $dDate ?>" maxlength="10" id="sel1" size="11" class="form-control pull-right active date-picker" ?><font color="red"><?= $sDateError ?></font></td>
</tr>

Expand Down
4 changes: 2 additions & 2 deletions src/CartToEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

?>
<div class="box">
<p align="center"><?= gettext("Select the event to which you would like to add your cart:") ?></p>
<p align="center"><?= gettext("Select the event to which you would like to add your cart") ?>:</p>
<form name="CartToEvent" action="CartToEvent.php" method="POST">
<table align="center">
<?php if ($sGlobalMessage) { ?>
Expand All @@ -73,7 +73,7 @@
</tr>
<?php } ?>
<tr>
<td class="LabelColumn"><?= gettext("Select Event:") ?></td>
<td class="LabelColumn"><?= gettext("Select Event") ?>:</td>
<td class="TextColumn">
<?php
// Create the group select drop-down
Expand Down
Loading

0 comments on commit ff2e165

Please sign in to comment.