Skip to content

Commit

Permalink
Locations by saulo#4 (#1255)
Browse files Browse the repository at this point in the history
* Fix SQL auto-install.  Cleanup Setup Page in case of absent signatures.json file

* remove dead comments

* Locantions by saulo #4

more two gettext added

* more one gettext

* Location and title separation

Location and title separation

* Update PersonEditor.php

* Update SystemService.php

* revert from develop
  • Loading branch information
saulowulhynek authored and DawoudIO committed Nov 5, 2016
1 parent 2c84e68 commit 8050f11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Checkin.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<tr>
<td>
<caption>
<h3><?= gettext("Add Attendees for Event: $event_title") ?></h3>
<h3><?= gettext("Add Attendees for Event")?>: <?= $event_title ?></h3>
</caption>
</td>
</tr>
Expand All @@ -130,12 +130,12 @@
</tr>
<tr>
<td width="33%" align="right">
Child's Number
<?= gettext("Child's Number") ?>
</td>
<td width="33%" valign="top" align="center">
</td>
<td width="33%" valign="top" align="left">
Adult Number(Optional)
<?= gettext("Adult Number(Optional)") ?>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion src/EventEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
<?php
for ($c=0; $c<$nCnts; $c++){
?><tr>
<td><strong><?= ($aCountName[$c].": ") ?>&nbsp;</strong></td>
<td><strong><?= (gettext($aCountName[$c]).":") ?>&nbsp;</strong></td>
<td>
<input type="text" name="EventCount[]" value="<?= ($aCount[$c]) ?>" size="8" class='form-control'>
<input type="hidden" name="EventCountID[]" value="<?= ($aCountID[$c]) ?>">
Expand Down
2 changes: 1 addition & 1 deletion src/RestoreDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
$('#restoredatabase').submit(function (event) {
event.preventDefault();
$("#restorestatus").css("color", "orange");
$("#restorestatus").html("Restore Running, Please wait.");
$("#restorestatus").html(<?= gettext("Restore Running, Please wait.")?>);
var formData = new FormData($(this)[0]);
$.ajax({
url: window.CRM.root + '/api/database/restore',
Expand Down

0 comments on commit 8050f11

Please sign in to comment.