diff options
78 files changed, 350 insertions, 350 deletions
diff --git a/addremotelink.php b/addremotelink.php index ddf39922b6..6aefc2f0d7 100644 --- a/addremotelink.php +++ b/addremotelink.php @@ -148,7 +148,7 @@ if (!$success) { <?php if ($controller->server_list || $controller->gedcom_list) { ?> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Site Location'), help_link('link_remote_location'); ?> + <?php echo i18n::translate('Site location'), help_link('link_remote_location'); ?> </td> <td class="optionbox"> <?php @@ -117,8 +117,8 @@ echo WT_JS_START, 'function showchanges() {window.location.reload();}', WT_JS_EN $modules = WT_Module::getInstalledModules(); if (WT_USER_IS_ADMIN || count($modules)>0) {?> <!-- ---- MODIFIED BY BH ------------------------------------ --> - <!-- <li><a href="#modules"><span><?php // echo i18n::translate('Module Administration')?></span></a></li> --> - <li><a href="#modules" onclick="window.location='module_admin.php';" ><span><?php echo i18n::translate('Module Administration')?></span></a></li> + <!-- <li><a href="#modules"><span><?php // echo i18n::translate('Module administration')?></span></a></li> --> + <li><a href="#modules" onclick="window.location='module_admin.php';" ><span><?php echo i18n::translate('Module administration')?></span></a></li> <!-- -------------------------------------------------------- --> <?php } ?> </ul> @@ -196,7 +196,7 @@ echo WT_JS_START, 'function showchanges() {window.location.reload();}', WT_JS_EN <td class="optionbox width50"><a href="siteconfig.php"><?php echo i18n::translate('Configuration');?></a><?php echo help_link('help_editconfig.php'); ?></td> <td class="optionbox width50"><a - href="manageservers.php"><?php echo i18n::translate('Manage Sites');?></a><?php echo help_link('help_managesites'); ?></td> + href="manageservers.php"><?php echo i18n::translate('Manage sites');?></a><?php echo help_link('help_managesites'); ?></td> </tr> <tr> <td class="optionbox width50"><a @@ -205,7 +205,7 @@ echo WT_JS_START, 'function showchanges() {window.location.reload();}', WT_JS_EN </tr> <tr> <td class="optionbox width50"><a - href="faq.php"><?php echo i18n::translate('FAQ List');?></a><?php echo help_link('help_faq.php'); ?></td> + href="faq.php"><?php echo i18n::translate('FAQ list');?></a><?php echo help_link('help_faq.php'); ?></td> <td class="optionbox width50"> </td> </tr> </table> diff --git a/ancestry.php b/ancestry.php index 074749d499..f9d2ee94a9 100644 --- a/ancestry.php +++ b/ancestry.php @@ -37,7 +37,7 @@ require WT_ROOT.'includes/functions/functions_print_lists.php'; $controller=new AncestryController(); $controller->init(); -print_header($controller->name . " " . i18n::translate('Ancestry Chart')); +print_header($controller->name . " " . i18n::translate('Ancestry chart')); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; @@ -51,7 +51,7 @@ echo '<table><tr><td valign="middle">'; if ($view=="preview") { echo '<h2>', i18n::translate('%s Generation Ancestry Chart', $PEDIGREE_GENERATIONS) , ':'; } else { - echo '<h2>', i18n::translate('Ancestry Chart'), ':'; + echo '<h2>', i18n::translate('Ancestry chart'), ':'; } echo '<br />', PrintReady($controller->name); if ($controller->addname!="") { @@ -225,7 +225,7 @@ case 2: // Individual list $treeid=ancestry_array($controller->rootid, $PEDIGREE_GENERATIONS); echo '<div class="center">'; - print_indi_table($treeid, i18n::translate('Ancestry Chart').' : '.PrintReady($controller->name), 'sosa'); + print_indi_table($treeid, i18n::translate('Ancestry chart').' : '.PrintReady($controller->name), 'sosa'); echo '</div>'; break; case 3: @@ -242,7 +242,7 @@ case 3: } } echo '<div class="center">'; - print_fam_table($famlist, i18n::translate('Ancestry Chart').' : '.PrintReady($controller->name)); + print_fam_table($famlist, i18n::translate('Ancestry chart').' : '.PrintReady($controller->name)); echo '</div>'; break; } diff --git a/branches.php b/branches.php index a840cdda3f..8e0b395f6e 100644 --- a/branches.php +++ b/branches.php @@ -104,7 +104,7 @@ if ($surn) { echo "</fieldset>"; if ($rootid) { $person = Person::getInstance($rootid); - echo "<p class=\"center\">", i18n::translate('Pedigree Chart Root Person'), " : <a title=\"", $person->getXref(), "\" href=\"{$person->getLinkUrl()}\">{$person->getFullName()}</a>"; + echo "<p class=\"center\">", i18n::translate('Pedigree chart root person'), " : <a title=\"", $person->getXref(), "\" href=\"{$person->getLinkUrl()}\">{$person->getFullName()}</a>"; echo "<br />".i18n::translate('Direct line ancestors-ancestors')." : ", count($_SESSION['user_ancestors']), "</p>"; } } diff --git a/calendar.php b/calendar.php index 911b63e2cf..2d614625db 100644 --- a/calendar.php +++ b/calendar.php @@ -102,7 +102,7 @@ if ($cal_date->d>$days_in_month && $action=='today') $action='calendar'; // Print the header stuff -print_header(i18n::translate('Anniversary Calendar')); +print_header(i18n::translate('Anniversary calendar')); echo '<div style="text-align: center;" id="calendar_page">'; if ($view!='preview') { diff --git a/clippings.php b/clippings.php index a894a49cd1..1b660d63b4 100644 --- a/clippings.php +++ b/clippings.php @@ -38,7 +38,7 @@ $controller = new ClippingsController(); $controller->init(); // -- print html header information -print_header(i18n::translate('Clippings Cart')); +print_header(i18n::translate('Clippings cart')); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; diff --git a/compact.php b/compact.php index 661ee14c49..abec70f535 100644 --- a/compact.php +++ b/compact.php @@ -309,9 +309,9 @@ function print_td_person($n) { $pid = $treeid[$n]; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$pid; + $title = i18n::translate('Individual information').": ".$pid; } else { - $title = $pid." :".i18n::translate('Individual Information'); + $title = $pid." :".i18n::translate('Individual information'); } if ($pid) { diff --git a/descendancy.php b/descendancy.php index bc7aeee5d8..eae0e293f9 100644 --- a/descendancy.php +++ b/descendancy.php @@ -35,7 +35,7 @@ require WT_ROOT.'includes/functions/functions_print_lists.php'; $controller=new DescendancyController(); $controller->init(); -print_header($controller->name." ".i18n::translate('Descendancy Chart')); +print_header($controller->name." ".i18n::translate('Descendancy chart')); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; @@ -46,7 +46,7 @@ if (WT_USE_LIGHTBOX) { } // ========================================================================================== -echo '<table><tr><td valign="top"><h2>', i18n::translate('Descendancy Chart'), ':<br />', PrintReady($controller->name), '</h2>'; +echo '<table><tr><td valign="top"><h2>', i18n::translate('Descendancy chart'), ':<br />', PrintReady($controller->name), '</h2>'; echo WT_JS_START; echo 'var pastefield; function paste_id(value) {pastefield.value=value;}'; echo WT_JS_END; @@ -141,13 +141,13 @@ case 1: //-- booklet case 2: //-- Individual list $descendants=indi_desc($controller->descPerson, $controller->generations, array()); echo '<div class="center">'; - print_indi_table($descendants, i18n::translate('Descendancy Chart').' : '.PrintReady($controller->name)); + print_indi_table($descendants, i18n::translate('Descendancy chart').' : '.PrintReady($controller->name)); echo '</div>'; break; case 3: //-- Family list $descendants=fam_desc($controller->descPerson, $controller->generations, array()); echo '<div class="center">'; - print_fam_table($descendants, i18n::translate('Descendancy Chart').' : '.PrintReady($controller->name)); + print_fam_table($descendants, i18n::translate('Descendancy chart').' : '.PrintReady($controller->name)); echo '</div>'; break; } diff --git a/edit_changes.php b/edit_changes.php index 7c08c7c5f1..ff3f722de0 100644 --- a/edit_changes.php +++ b/edit_changes.php @@ -59,7 +59,7 @@ print_simple_header(i18n::translate('Review GEDCOM changes')); //--> </script> <?php -echo '<div class="center"><span class="subheaders">', i18n::translate('Review GEDCOM Changes'), '</span><br /><br />'; +echo '<div class="center"><span class="subheaders">', i18n::translate('Review GEDCOM changes'), '</span><br /><br />'; switch ($action) { case 'undo': diff --git a/edit_interface.php b/edit_interface.php index a098c4ec27..5f77a191d0 100644 --- a/edit_interface.php +++ b/edit_interface.php @@ -60,7 +60,7 @@ $update_CHAN=!safe_POST_bool('preserve_last_changed'); $uploaded_files = array(); -print_simple_header(i18n::translate('Edit Interface')); +print_simple_header(i18n::translate('Edit interface')); if ($ENABLE_AUTOCOMPLETE) { require WT_ROOT.'js/autocomplete.js.htm'; @@ -850,7 +850,7 @@ case 'addnewnote': echo "<table class=\"facts_table\">"; echo "<tr>"; echo "<td class=\"descriptionbox\" ", $TEXT_DIRECTION, " wrap=\"nowrap\">"; - echo i18n::translate('Shared Note'), help_link('SHARED_NOTE'); + echo i18n::translate('Shared note'), help_link('SHARED_NOTE'); echo "</td>"; echo "<td class=\"optionbox wrap\" ><textarea name=\"NOTE\" id=\"NOTE\" rows=\"15\" cols=\"87\"></textarea>"; print_specialchar_link("NOTE", true); @@ -1112,7 +1112,7 @@ case 'editnote': ?> <table class="facts_table"> <tr> - <td class="descriptionbox <?php echo $TEXT_DIRECTION; ?> wrap width25"><?php echo i18n::translate('Shared Note'), help_link('SHARED_NOTE'); ?></td> + <td class="descriptionbox <?php echo $TEXT_DIRECTION; ?> wrap width25"><?php echo i18n::translate('Shared note'), help_link('SHARED_NOTE'); ?></td> <td class="optionbox wrap"> <textarea tabindex="<?php echo $tabkey; ?>" name="NOTE" id="NOTE" rows="15" cols="90"><?php echo htmlspecialchars($note_content); diff --git a/edit_merge.php b/edit_merge.php index 906106f63f..ebf9130147 100644 --- a/edit_merge.php +++ b/edit_merge.php @@ -284,7 +284,7 @@ if ($action=="choose") { echo ">", PrintReady(strip_tags(get_gedcom_setting($ged_id, 'title'))), "</option>\n"; } echo "</select>\n"; - echo "<a href=\"javascript:iopen_find(document.merge.gid1, document.merge.ged);\" tabindex=\"6\"> ", i18n::translate('Find Individual ID'), "</a> |"; + echo "<a href=\"javascript:iopen_find(document.merge.gid1, document.merge.ged);\" tabindex=\"6\"> ", i18n::translate('Find individual ID'), "</a> |"; echo " <a href=\"javascript:fopen_find(document.merge.gid1, document.merge.ged);\" tabindex=\"8\"> ", i18n::translate('Find Family ID'), "</a> |"; echo " <a href=\"javascript:sopen_find(document.merge.gid1, document.merge.ged);\" tabindex=\"10\"> ", i18n::translate('Find Source ID'), "</a>"; echo help_link('rootid'); @@ -301,7 +301,7 @@ if ($action=="choose") { echo ">", PrintReady(strip_tags(get_gedcom_setting($ged_id, 'title'))), "</option>\n"; } echo "</select>\n"; - echo "<a href=\"javascript:iopen_find(document.merge.gid2, document.merge.ged2);\" tabindex=\"7\"> ", i18n::translate('Find Individual ID'), "</a> |"; + echo "<a href=\"javascript:iopen_find(document.merge.gid2, document.merge.ged2);\" tabindex=\"7\"> ", i18n::translate('Find individual ID'), "</a> |"; echo "<a href=\"javascript:fopen_find(document.merge.gid2, document.merge.ged2);\" tabindex=\"9\"> ", i18n::translate('Find Family ID'), "</a> |"; echo "<a href=\"javascript:sopen_find(document.merge.gid2, document.merge.ged2);\" tabindex=\"11\"> ", i18n::translate('Find Source ID'), "</a>"; echo help_link('rootid'); diff --git a/edit_privacy.php b/edit_privacy.php index 80e74a9c52..5989b49b88 100644 --- a/edit_privacy.php +++ b/edit_privacy.php @@ -328,7 +328,7 @@ if ($action=="update") { <tr> <td class="descriptionbox wrap"> - <?php echo i18n::translate('Show Multi-Site Search'), help_link('SHOW_MULTISITE_SEARCH'); ?> + <?php echo i18n::translate('Show multi-site search'), help_link('SHOW_MULTISITE_SEARCH'); ?> </td> <td class="optionbox"> <select size="1" name="v_SHOW_MULTISITE_SEARCH"><?php write_access_option($SHOW_MULTISITE_SEARCH); ?></select> @@ -337,7 +337,7 @@ if ($action=="update") { <tr> <td class="descriptionbox wrap"> - <?php echo i18n::translate('Limit Privacy by age of event'), help_link('PRIVACY_BY_YEAR'); ?> + <?php echo i18n::translate('Limit privacy by age of event'), help_link('PRIVACY_BY_YEAR'); ?> </td> <td class="optionbox"> <select size="1" name="v_PRIVACY_BY_YEAR"><?php write_yes_no($PRIVACY_BY_YEAR); ?></select> @@ -593,8 +593,8 @@ if ($action=="update") { <tr> <td class="topbottombar <?php print $TEXT_DIRECTION; ?>"> <?php - print "<a href=\"javascript: ".i18n::translate('Global Fact Privacy settings')."\" onclick=\"expand_layer('global-facts-options');return false\"><img id=\"global-facts-options_img\" src=\"".$WT_IMAGE_DIR."/".$WT_IMAGES["plus"]["other"]."\" border=\"0\" width=\"11\" height=\"11\" alt=\"\" /></a> "; ?> - <a href="javascript: <?php print i18n::translate('Global Fact Privacy settings'); ?>" onclick="expand_layer('global-facts-options');return false"><b><?php echo i18n::translate('Global Fact Privacy settings'); ?></b></a><?php echo help_link('global_facts'); ?> + print "<a href=\"javascript: ".i18n::translate('Global fact privacy settings')."\" onclick=\"expand_layer('global-facts-options');return false\"><img id=\"global-facts-options_img\" src=\"".$WT_IMAGE_DIR."/".$WT_IMAGES["plus"]["other"]."\" border=\"0\" width=\"11\" height=\"11\" alt=\"\" /></a> "; ?> + <a href="javascript: <?php print i18n::translate('Global fact privacy settings'); ?>" onclick="expand_layer('global-facts-options');return false"><b><?php echo i18n::translate('Global fact privacy settings'); ?></b></a><?php echo help_link('global_facts'); ?> </td> </tr> </table> diff --git a/editconfig_gedcom.php b/editconfig_gedcom.php index 921f47121f..fa79ca9a51 100644 --- a/editconfig_gedcom.php +++ b/editconfig_gedcom.php @@ -386,7 +386,7 @@ if (safe_POST('action')=='update') { } } -print_header(i18n::translate('GEDCOM Configuration')); +print_header(i18n::translate('GEDCOM configuration')); ?> <script type="text/javascript"> //<![CDATA[ @@ -419,7 +419,7 @@ print_header(i18n::translate('GEDCOM Configuration')); <tr> <td colspan="2" class="facts_label"> <?php - echo "<h2>", i18n::translate('GEDCOM Configuration'), " - "; + echo "<h2>", i18n::translate('GEDCOM configuration'), " - "; echo PrintReady(get_gedcom_setting(WT_GED_ID, 'title')); echo "</h2>"; echo "<a href=\"editgedcoms.php\"><b>"; @@ -641,7 +641,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('MultiMedia directory'), help_link('MEDIA_DIRECTORY'); ?> + <?php echo i18n::translate('Multimedia directory'), help_link('MEDIA_DIRECTORY'); ?> </td> <td class="optionbox"><input type="text" size="50" name="NEW_MEDIA_DIRECTORY" value="<?php print $MEDIA_DIRECTORY; ?>" dir="ltr" tabindex="<?php echo ++$i; ?>" /> <?php @@ -703,7 +703,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show file name in Media Viewer'), help_link('SHOW_MEDIA_FILENAME'); ?> + <?php echo i18n::translate('Show file name in media viewer'), help_link('SHOW_MEDIA_FILENAME'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_MEDIA_FILENAME', $SHOW_MEDIA_FILENAME, 'tabindex="'.(++$i).'"'); ?> @@ -711,7 +711,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show download link in Media Viewer'), help_link('SHOW_MEDIA_DOWNLOAD'); ?> + <?php echo i18n::translate('Show download link in media viewer'), help_link('SHOW_MEDIA_DOWNLOAD'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_MEDIA_DOWNLOAD', $SHOW_MEDIA_DOWNLOAD, 'tabindex="'.(++$i).'"'); ?> @@ -786,7 +786,7 @@ print_header(i18n::translate('GEDCOM Configuration')); <table class="facts_table"> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Enable Privacy'), help_link('HIDE_LIVE_PEOPLE'); ?> + <?php echo i18n::translate('Enable privacy'), help_link('HIDE_LIVE_PEOPLE'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_HIDE_LIVE_PEOPLE', $HIDE_LIVE_PEOPLE, 'tabindex="'.(++$i).'"'); ?> @@ -802,7 +802,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Page to show after Login'), help_link('PAGE_AFTER_LOGIN'); ?> + <?php echo i18n::translate('Page to show after login'), help_link('PAGE_AFTER_LOGIN'); ?> </td> <td class="optionbox"><select name="NEW_PAGE_AFTER_LOGIN" tabindex="<?php echo ++$i; ?>"> <option value="welcome" <?php if ($PAGE_AFTER_LOGIN=='welcome') print " selected=\"selected\""; ?>><?php print i18n::translate('Home'); ?></option> @@ -825,7 +825,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Standard header for custom Welcome text'), help_link('WELCOME_TEXT_AUTH_MODE_CUST_HEAD'); ?> + <?php echo i18n::translate('Standard header for custom welcome text'), help_link('WELCOME_TEXT_AUTH_MODE_CUST_HEAD'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_WELCOME_TEXT_CUST_HEAD', $WELCOME_TEXT_CUST_HEAD, 'tabindex="'.(++$i).'"'); ?> @@ -833,14 +833,14 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Custom Welcome text'), help_link('WELCOME_TEXT_AUTH_MODE_CUST'); ?> + <?php echo i18n::translate('Custom welcome text'), help_link('WELCOME_TEXT_AUTH_MODE_CUST'); ?> </td> <td class="optionbox"><textarea name="NEW_WELCOME_TEXT_AUTH_MODE_4" rows="5" cols="60" dir="ltr" tabindex="<?php echo ++$i; ?>"><?php print $WELCOME_TEXT_AUTH_MODE_4; ?></textarea> </td> </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show Acceptable Use agreement on «Request new user account» page'), help_link('SHOW_REGISTER_CAUTION'); ?> + <?php echo i18n::translate('Show acceptable use agreement on «Request new user account» page'), help_link('SHOW_REGISTER_CAUTION'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_REGISTER_CAUTION', $SHOW_REGISTER_CAUTION, 'tabindex="'.(++$i).'"'); ?> @@ -858,7 +858,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show married names on Individual list'), help_link('SHOW_MARRIED_NAMES'); ?> + <?php echo i18n::translate('Show married names on individual list'), help_link('SHOW_MARRIED_NAMES'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_MARRIED_NAMES', $SHOW_MARRIED_NAMES, 'tabindex="'.(++$i).'"'); ?> @@ -887,19 +887,19 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Min. no. of occurrences to be a "Common Surname"'), help_link('COMMON_NAMES_THRESHOLD'); ?> + <?php echo i18n::translate('Min. no. of occurrences to be a "common surname"'), help_link('COMMON_NAMES_THRESHOLD'); ?> </td> <td class="optionbox"><input type="text" name="NEW_COMMON_NAMES_THRESHOLD" value="<?php print $COMMON_NAMES_THRESHOLD; ?>" size="5" tabindex="<?php echo ++$i; ?>" /></td> </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Names to add to Common Surnames (comma separated)'), help_link('COMMON_NAMES_ADD'); ?> + <?php echo i18n::translate('Names to add to common surnames (comma separated)'), help_link('COMMON_NAMES_ADD'); ?> </td> <td class="optionbox"><input type="text" name="NEW_COMMON_NAMES_ADD" dir="ltr" value="<?php print $COMMON_NAMES_ADD; ?>" size="50" tabindex="<?php echo ++$i; ?>" /></td> </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Names to remove from Common Surnames (comma separated)'), help_link('COMMON_NAMES_REMOVE'); ?> + <?php echo i18n::translate('Names to remove from common surnames (comma separated)'), help_link('COMMON_NAMES_REMOVE'); ?> </td> <td class="optionbox"><input type="text" name="NEW_COMMON_NAMES_REMOVE" dir="ltr" value="<?php print $COMMON_NAMES_REMOVE; ?>" size="50" tabindex="<?php echo ++$i; ?>" /></td> </tr> @@ -916,19 +916,19 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Maximum Pedigree generations'), help_link('MAX_PEDIGREE_GENERATIONS'); ?> + <?php echo i18n::translate('Maximum pedigree generations'), help_link('MAX_PEDIGREE_GENERATIONS'); ?> </td> <td class="optionbox"><input type="text" name="NEW_MAX_PEDIGREE_GENERATIONS" value="<?php print $MAX_PEDIGREE_GENERATIONS; ?>" size="5" tabindex="<?php echo ++$i; ?>" /></td> </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Maximum Descendancy generations'), help_link('MAX_DESCENDANCY_GENERATIONS'); ?> + <?php echo i18n::translate('Maximum descendancy generations'), help_link('MAX_DESCENDANCY_GENERATIONS'); ?> </td> <td class="optionbox"><input type="text" name="NEW_MAX_DESCENDANCY_GENERATIONS" value="<?php print $MAX_DESCENDANCY_GENERATIONS; ?>" size="5" tabindex="<?php echo ++$i; ?>" /></td> </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Default Pedigree chart layout'), help_link('PEDIGREE_LAYOUT'); ?> + <?php echo i18n::translate('Default pedigree chart layout'), help_link('PEDIGREE_LAYOUT'); ?> </td> <td class="optionbox"><select name="NEW_PEDIGREE_LAYOUT" tabindex="<?php echo ++$i; ?>"> <option value="yes" <?php if ($PEDIGREE_LAYOUT) print "selected=\"selected\""; ?>><?php print i18n::translate('Landscape'); ?></option> @@ -973,7 +973,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Default tab to show on Individual page'), help_link('GEDCOM_DEFAULT_TAB'); ?> + <?php echo i18n::translate('Default tab to show on individual page'), help_link('GEDCOM_DEFAULT_TAB'); ?> </td> <td class="optionbox"> <?php echo edit_field_default_tab('NEW_GEDCOM_DEFAULT_TAB', $GEDCOM_DEFAULT_TAB, 'tabindex="'.(++$i).'"'); ?> @@ -989,7 +989,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show events of close relatives on Individual page'), help_link('SHOW_RELATIVES_EVENTS'); ?> + <?php echo i18n::translate('Show events of close relatives on individual page'), help_link('SHOW_RELATIVES_EVENTS'); ?> </td> <td class="optionbox"> <input type="hidden" name="NEW_SHOW_RELATIVES_EVENTS" value="<?php echo $SHOW_RELATIVES_EVENTS; ?>" /> @@ -1038,7 +1038,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Postal Code position'), help_link('POSTAL_CODE'); ?> + <?php echo i18n::translate('Postal code position'), help_link('POSTAL_CODE'); ?> </td> <td class="optionbox"><select name="NEW_POSTAL_CODE" tabindex="<?php echo ++$i; ?>"> <option value="yes" <?php if ($POSTAL_CODE) print "selected=\"selected\""; ?>><?php print ucfirst(i18n::translate('after')); ?></option> @@ -1082,7 +1082,7 @@ print_header(i18n::translate('GEDCOM Configuration')); <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show empty boxes on Pedigree charts'), help_link('SHOW_EMPTY_BOXES'); ?> + <?php echo i18n::translate('Show empty boxes on pedigree charts'), help_link('SHOW_EMPTY_BOXES'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_EMPTY_BOXES', $SHOW_EMPTY_BOXES, 'tabindex="'.(++$i).'"'); ?> @@ -1098,7 +1098,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show Birth and Death details on charts'), help_link('PEDIGREE_FULL_DETAILS'); ?> + <?php echo i18n::translate('Show birth and death details on charts'), help_link('PEDIGREE_FULL_DETAILS'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_PEDIGREE_FULL_DETAILS', $PEDIGREE_FULL_DETAILS, 'tabindex="'.(++$i).'"'); ?> @@ -1162,7 +1162,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show Fact icons'), help_link('SHOW_FACT_ICONS'); ?> + <?php echo i18n::translate('Show fact icons'), help_link('SHOW_FACT_ICONS'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_FACT_ICONS', $SHOW_FACT_ICONS, 'tabindex="'.(++$i).'"'); ?> @@ -1186,7 +1186,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show all Notes and Source references on Notes and Sources tabs'), help_link('SHOW_LEVEL2_NOTES'); ?> + <?php echo i18n::translate('Show all notes and source references on notes and sources tabs'), help_link('SHOW_LEVEL2_NOTES'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_LEVEL2_NOTES', $SHOW_LEVEL2_NOTES, 'tabindex="'.(++$i).'"'); ?> @@ -1194,7 +1194,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show Date Differences'), help_link('SHOW_AGE_DIFF'); ?> + <?php echo i18n::translate('Show date differences'), help_link('SHOW_AGE_DIFF'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_AGE_DIFF', $SHOW_AGE_DIFF, 'tabindex="'.(++$i).'"'); ?> @@ -1261,7 +1261,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Enable Autocomplete'), help_link('ENABLE_AUTOCOMPLETE'); ?> + <?php echo i18n::translate('Enable autocomplete'), help_link('ENABLE_AUTOCOMPLETE'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_ENABLE_AUTOCOMPLETE', $ENABLE_AUTOCOMPLETE, 'tabindex="'.(++$i).'"'); ?> @@ -1403,7 +1403,7 @@ print_header(i18n::translate('GEDCOM Configuration')); </tr> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Split places in Edit mode'), help_link('SPLIT_PLACES'); ?> + <?php echo i18n::translate('Split places in edit mode'), help_link('SPLIT_PLACES'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SPLIT_PLACES', $SPLIT_PLACES, 'tabindex="'.(++$i).'"'); ?> @@ -1473,7 +1473,7 @@ print_header(i18n::translate('GEDCOM Configuration')); <table class="facts_table"> <tr> <td class="descriptionbox wrap width20"> - <?php echo i18n::translate('Show contextual <b>?</b> Help links'), help_link('SHOW_CONTEXT_HELP'); ?> + <?php echo i18n::translate('Show contextual <b>?</b> help links'), help_link('SHOW_CONTEXT_HELP'); ?> </td> <td class="optionbox"> <?php echo edit_field_yes_no('NEW_SHOW_CONTEXT_HELP', $SHOW_CONTEXT_HELP, 'tabindex="'.(++$i).'"'); ?> diff --git a/editnews.php b/editnews.php index b0d5d90b1a..718e784093 100644 --- a/editnews.php +++ b/editnews.php @@ -52,7 +52,7 @@ $text =safe_POST('text', WT_REGEX_UNSAFE); if (empty($username)) $username=$GEDCOM; if ($action=="compose") { - print '<span class="subheaders">'.i18n::translate('Add/Edit Journal/News entry').'</span>'; + print '<span class="subheaders">'.i18n::translate('Add/edit journal/news entry').'</span>'; ?> <script language="JavaScript" type="text/javascript"> function checkForm(frm) { diff --git a/edituser.php b/edituser.php index e620457368..dda229fca8 100644 --- a/edituser.php +++ b/edituser.php @@ -145,7 +145,7 @@ echo '<form name="editform" method="post" action="" onsubmit="return checkform(t echo '<input type="hidden" name="form_action" value="update" />'; echo '<table class="list_table center ', $TEXT_DIRECTION, '">'; -echo '<tr><td class="topbottombar" colspan="2"><h2>', i18n::translate('My Account'), '</h2></td></tr>'; +echo '<tr><td class="topbottombar" colspan="2"><h2>', i18n::translate('My account'), '</h2></td></tr>'; echo '<tr><td class="topbottombar" colspan="2"><input type="submit" tabindex="', ++$tab, '" value="', i18n::translate('Update MyAccount'), '" /></td></tr>'; @@ -169,7 +169,7 @@ if ($person) { $person=Person::getInstance(WT_USER_ROOT_ID); echo '<tr><td class="descriptionbox wrap">'; -echo i18n::translate('Pedigree Chart Root Person'), help_link('edituser_rootid'), '</td><td class="optionbox">'; +echo i18n::translate('Pedigree chart root person'), help_link('edituser_rootid'), '</td><td class="optionbox">'; echo '<input type="text" name="form_rootid" id="rootid" tabindex="', ++$tab, '" value="', WT_USER_ROOT_ID, '" />'; echo print_findindi_link('rootid', '', true), '<br/>'; if ($person) { @@ -182,7 +182,7 @@ echo i18n::translate('Password'), '</td><td class="optionbox">'; echo '<input type="password" name="form_pass1" tabindex="', ++$tab, '" /> ', i18n::translate('Leave password blank if you want to keep the current password.'), help_link('edituser_password'), '</td></tr>'; echo '<tr><td class="descriptionbox wrap">'; -echo i18n::translate('Confirm Password'), help_link('edituser_conf_password'), '</td><td class="optionbox">'; +echo i18n::translate('Confirm password'), help_link('edituser_conf_password'), '</td><td class="optionbox">'; echo '<input type="password" name="form_pass2" tabindex="', ++$tab, '" /></td></tr>'; echo '<tr><td class="descriptionbox wrap">'; @@ -192,7 +192,7 @@ echo edit_field_language('form_language', get_user_setting(WT_USER_ID, 'language echo '</td></tr>'; echo '<tr><td class="descriptionbox wrap">'; -echo i18n::translate('Email Address'), help_link('edituser_email'), '</td><td class="optionbox" valign="top">'; +echo i18n::translate('Email address'), help_link('edituser_email'), '</td><td class="optionbox" valign="top">'; echo '<input type="text" name="form_email" tabindex="', ++$tab, '" value="', getUserEmail(WT_USER_ID), '" size="50" /></td></tr>'; if ($ALLOW_USER_THEMES) { @@ -211,7 +211,7 @@ if ($ALLOW_USER_THEMES) { } echo '<tr><td class="descriptionbox wrap">'; -echo i18n::translate('Preferred Contact Method'), help_link('edituser_user_contact'); +echo i18n::translate('Preferred contact method'), help_link('edituser_user_contact'); echo '</td><td class="optionbox">'; echo edit_field_contact('form_contact_method', get_user_setting(WT_USER_ID, 'contactmethod'), 'tabindex="'.(++$tab).'"'); echo '</td></tr>'; diff --git a/familybook.php b/familybook.php index 602f9dc636..43855315e6 100644 --- a/familybook.php +++ b/familybook.php @@ -371,7 +371,7 @@ function print_family_book($pid, $descent) } // -- print html header information -print_header(PrintReady($name)." ".i18n::translate('Family Book Chart')); +print_header(PrintReady($name)." ".i18n::translate('Family book chart')); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; @@ -383,11 +383,11 @@ if (WT_USE_LIGHTBOX) { // ========================================================================================== if ($view=="preview") { - print "<h2 style=\"text-align: center\">".i18n::translate('Family Book Chart').": ".PrintReady($name)."</h2>"; + print "<h2 style=\"text-align: center\">".i18n::translate('Family book chart').": ".PrintReady($name)."</h2>"; } else { print "<!-- // NOTE: Start table header -->"; print "<table><tr><td valign=\"top\">"; - print "<h2>".i18n::translate('Family Book Chart').":<br />".PrintReady($name)."</h2>"; + print "<h2>".i18n::translate('Family book chart').":<br />".PrintReady($name)."</h2>"; } ?> diff --git a/famlist.php b/famlist.php index 2664780293..68a7e6fb9b 100644 --- a/famlist.php +++ b/famlist.php @@ -183,10 +183,10 @@ if (!$SEARCH_SPIDER) { echo '<p class="center">'; if ($alpha!='@' && $alpha!=',' && !$surname) { if ($surname_sublist=='yes') { - echo '<a href="', $url, '&surname_sublist=no">', i18n::translate('Skip Surname lists'), '</a>'; + echo '<a href="', $url, '&surname_sublist=no">', i18n::translate('Skip surname lists'), '</a>'; echo help_link('skip_sublist', 'qm', 'skip_surnames'); } else { - echo '<a href="', $url, '&surname_sublist=yes">', i18n::translate('Show Surname lists'), '</a>'; + echo '<a href="', $url, '&surname_sublist=yes">', i18n::translate('Show surname lists'), '</a>'; echo help_link('skip_sublist', 'qm', 'show_surnames'); } echo ' '; diff --git a/fanchart.php b/fanchart.php index 383315018a..1b199540f1 100644 --- a/fanchart.php +++ b/fanchart.php @@ -301,12 +301,12 @@ function print_fan_chart($treeid, $fanw=640, $fandeg=270) { if (WT_USER_GEDCOM_ID && WT_USER_GEDCOM_ID!=$pid) { echo "<br /><a href=\"".encode_url("relationship.php?pid1=".WT_USER_GEDCOM_ID."&pid2={$pid}&ged={$GEDCOM}")."\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Relationship to me')."</a>"; } - echo "<br /><a href=\"descendancy.php?pid=$pid\" >".i18n::translate('Descendancy Chart')."</a>"; - echo "<br /><a href=\"ancestry.php?rootid=$pid\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Ancestry Chart')."</a>"; + echo "<br /><a href=\"descendancy.php?pid=$pid\" >".i18n::translate('Descendancy chart')."</a>"; + echo "<br /><a href=\"ancestry.php?rootid=$pid\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Ancestry chart')."</a>"; echo "<br /><a href=\"compact.php?rootid=$pid\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Compact Chart')."</a>"; - echo "<br /><a href=\"".encode_url($tempURL)."\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Circle Diagram')."</a>"; - echo "<br /><a href=\"hourglass.php?pid=$pid\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Hourglass Chart')."</a>"; - echo "<br /><a href=\"treenav.php?rootid=$pid\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Interactive Tree')."</a>"; + echo "<br /><a href=\"".encode_url($tempURL)."\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Circle diagram')."</a>"; + echo "<br /><a href=\"hourglass.php?pid=$pid\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Hourglass chart')."</a>"; + echo "<br /><a href=\"treenav.php?rootid=$pid\" onmouseover=\"clear_family_box_timeout('".$pid.".".$count."');\" onmouseout=\"family_box_timeout('".$pid.".".$count."');\">".i18n::translate('Interactive tree')."</a>"; if ($sosa>=1) { $famids = find_sfamily_ids($pid); //-- make sure there is more than 1 child in the family with parents @@ -399,7 +399,7 @@ function print_fan_chart($treeid, $fanw=640, $fandeg=270) { // note: arg "image_name=" is to avoid image miscaching $image_name= "V".time(); unset($_SESSION[$image_name]); // statisticsplot.php uses this to hold a file name to send to browser - $image_title=preg_replace("~<.*>~", "", $name) . " " . i18n::translate('Circle Diagram'); + $image_title=preg_replace("~<.*>~", "", $name) . " " . i18n::translate('Circle diagram'); echo "<p align=\"center\" >"; echo "<img src=\"imageflush.php?image_type=png&image_name=$image_name&height=$fanh&width=$fanw\" width=\"$fanw\" height=\"$fanh\" border=\"0\" alt=\"$image_title\" title=\"$image_title\" usemap=\"#fanmap\" />"; echo "</p>"; @@ -420,7 +420,7 @@ $name =$person->getFullName(); $addname=$person->getAddName(); // -- print html header information -print_header(PrintReady($name) . " " . i18n::translate('Circle Diagram')); +print_header(PrintReady($name) . " " . i18n::translate('Circle diagram')); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; @@ -428,7 +428,7 @@ if (strlen($name)<30) $cellwidth="420"; else $cellwidth=(strlen($name)*14); echo "<table class=\"list_table $TEXT_DIRECTION\"><tr><td width=\"".$cellwidth."px\" valign=\"top\">"; if ($view == "preview") echo "<h2>" . i18n::translate('%s Generation Circle Diagram', $PEDIGREE_GENERATIONS) . ":"; -else echo "<h2>" . i18n::translate('Circle Diagram') . ":"; +else echo "<h2>" . i18n::translate('Circle diagram') . ":"; echo "<br />".PrintReady($name); if ($addname != "") echo "<br />" . PrintReady($addname); echo "</h2>"; @@ -451,7 +451,7 @@ if ($view != "preview") { // NOTE: fan style echo "<td rowspan=\"3\" class=\"descriptionbox\">"; - echo i18n::translate('Circle Diagram'), help_link('fan_style'); + echo i18n::translate('Circle diagram'), help_link('fan_style'); echo "</td><td rowspan=\"3\" class=\"optionbox\">"; echo "<input type=\"radio\" name=\"fan_style\" value=\"2\""; if ($fan_style==2) echo " checked=\"checked\""; @@ -35,7 +35,7 @@ require './includes/session.php'; global $WT_IMAGES, $faqs; // -- print html header information -print_header(i18n::translate('FAQ List')); +print_header(i18n::translate('FAQ list')); // -- Get all of the _POST variables we're interested in $action = safe_REQUEST($_REQUEST, 'action', WT_REGEX_UNSAFE, 'show'); @@ -158,15 +158,15 @@ if ($action=="add") { echo '<tr><td class="topbottombar" colspan="2">'; echo i18n::translate('Add FAQ item'), help_link('add_faq_item'); echo '</td></tr><tr><td class="descriptionbox" colspan="2">'; - echo i18n::translate('FAQ Header'), help_link('add_faq_header'); + echo i18n::translate('FAQ header'), help_link('add_faq_header'); echo '</td></tr><tr><td class="optionbox" colspan="2"><input type="text" name="header" size="90" tabindex="', $i++, '" /></td></tr>'; echo '<tr><td class="descriptionbox" colspan="2">'; - echo i18n::translate('FAQ Body'), help_link("add_faq_body","qm","add_faq_body"); + echo i18n::translate('FAQ body'), help_link("add_faq_body","qm","add_faq_body"); echo '</td></tr><tr><td class="optionbox" colspan="2"><textarea name="body" rows="10" cols="90" tabindex="', $i++, '"></textarea></td></tr>'; echo '<tr><td class="descriptionbox">'; - echo i18n::translate('FAQ Position'), help_link('add_faq_order'); + echo i18n::translate('FAQ position'), help_link('add_faq_order'); echo '</td><td class="descriptionbox">'; - echo i18n::translate('FAQ Visibility'), help_link('add_faq_visibility'); + echo i18n::translate('FAQ visibility'), help_link('add_faq_visibility'); echo '</td></tr><tr><td class="optionbox"><input type="text" name="order" size="3" tabindex="', $i++, '" /></td>'; echo '<td class="optionbox">'; echo '<select name="whichGEDCOM" tabindex="', $i++, '" />'; @@ -203,15 +203,15 @@ if ($action == "edit") { echo '<input type="hidden" name="oldGEDCOM" value="', htmlspecialchars($data["header"]["gedcom"]), '" />'; echo '<input type="hidden" name="oldOrder" value="', htmlspecialchars($id), '" />'; echo '<tr><td class="descriptionbox" colspan="2">'; - echo i18n::translate('FAQ Header'), help_link('add_faq_header'); + echo i18n::translate('FAQ header'), help_link('add_faq_header'); echo '</td></tr><tr><td class="optionbox" colspan="2"><input type="text" name="header" size="90" tabindex="', $i++, '" value="', htmlspecialchars($data["header"]["text"]), '" /></td></tr>'; echo '<tr><td class="descriptionbox" colspan="2">'; - echo i18n::translate('FAQ Body'), help_link('add_faq_body'); + echo i18n::translate('FAQ body'), help_link('add_faq_body'); echo '</td></tr><tr><td class="optionbox" colspan="2"><textarea name="body" rows="10" cols="90" tabindex="', $i++, '">', htmlspecialchars($data["body"]["text"]), '</textarea></td></tr>'; echo '<tr><td class="descriptionbox">'; - echo i18n::translate('FAQ Position'), help_link('add_faq_order'); + echo i18n::translate('FAQ position'), help_link('add_faq_order'); echo '</td><td class="descriptionbox">'; - echo i18n::translate('FAQ Visibility'), help_link('add_faq_visibility'); + echo i18n::translate('FAQ visibility'), help_link('add_faq_visibility'); echo '</td></tr><tr><td class="optionbox"><input type="text" name="order" size="3" tabindex="', $i++, '" value="', $id, '" /></td>'; echo '<td class="optionbox">'; echo '<select name="whichGEDCOM" tabindex="', $i++, '" />'; @@ -114,13 +114,13 @@ require WT_ROOT.'includes/specialchars.php'; switch ($type) { case "indi": - print_simple_header(i18n::translate('Find Individual ID')); + print_simple_header(i18n::translate('Find individual ID')); break; case "fam": print_simple_header(i18n::translate('Find Family List')); break; case "media": - print_simple_header(i18n::translate('Find Media')); + print_simple_header(i18n::translate('Find media')); $action="filter"; break; case "place": @@ -224,13 +224,13 @@ echo "<tr><td style=\"padding: 10px;\" valign=\"top\" class=\"facts_label03 widt switch ($type) { case "indi": - echo i18n::translate('Find Individual ID'); + echo i18n::translate('Find individual ID'); break; case "fam": echo i18n::translate('Find Family List'); break; case "media": - echo i18n::translate('Find Media'); + echo i18n::translate('Find media'); break; case "place": echo i18n::translate('Find Place'); diff --git a/help_text.php b/help_text.php index 557c8726c4..3a8c3af4f9 100644 --- a/help_text.php +++ b/help_text.php @@ -4063,7 +4063,7 @@ case 'help_contents_help': <ul><li><a href="?help=add_media">'.i18n::translate('Add media').'</a></li><li><a href="?help=ancestry.php">'.i18n::translate('Ancestry chart').'</a></li><li><a href="?help=calendar.php">'.i18n::translate('Calendar').'</a></li><li><a href="?help=fanchart.php">'.i18n::translate('Circle diagram').'</a></li><li><a href="?help=clippings.php">' .i18n::translate('Clippings cart').'</a></li><li><a href="?help=def">'.i18n::translate('Definitions').'</a></li><li><a href="?help=descendancy.php">'.i18n::translate('Descendancy chart').'</a></li><li><a href="?help=famlist.php">'.i18n::translate('Families').'</a></li><li><a href="?help=familybook.php">' .i18n::translate('Family book chart').'</a></li><li><a href="?help=family.php">'.i18n::translate('Family information').'</a></li><li><a href="?help=faq.php">'.i18n::translate('FAQ list').'</a></li><li><a href="?help=gedcom_info">'.i18n::translate('GEDCOM information').'</a></li><li><a href="?help=header">' - .i18n::translate('Header').'</a></li><li><a href="?help=help">'.i18n::translate('Help').'</a></li><li><a href="?help=index_portal">'.i18n::translate('Home Page').'</a></li><li><a href="?help=hourglass.php">'.i18n::translate('Hourglass chart').'</a></li><li><a href="?help=individual.php">' + .i18n::translate('Header').'</a></li><li><a href="?help=help">'.i18n::translate('Help').'</a></li><li><a href="?help=index_portal">'.i18n::translate('Home page').'</a></li><li><a href="?help=hourglass.php">'.i18n::translate('Hourglass chart').'</a></li><li><a href="?help=individual.php">' .i18n::translate('Individual information').'</a></li><li><a href="?help=indilist.php">'.i18n::translate('Individuals').'</a></li><li><a href="?help=treenav.php">'.i18n::translate('Interactive tree').'</a></li><li><a href="?help=login.php">' .i18n::translate('Login').'</a></li><li><a href="?help=pls_note11">'.i18n::translate('Lost password request').'</a></li><li><a href="?help=menu">'.i18n::translate('Menus').'</a></li><li><a href="?help=medialist.php">'.i18n::translate('Multimedia').'</a></li><li><a href="?help=edituser.php">' .i18n::translate('My account').'</a></li><li><a href="?help=mygedview_portal">'.i18n::translate('My Page').'</a></li><li><a href="?help=edituser_password">'.i18n::translate('Password').'</a></li><li><a href="?help=pedigree.php">'.i18n::translate('Pedigree Tree').'</a></li><li><a href="?help=placelist.php">' @@ -4133,7 +4133,7 @@ case 'help_useradmin.php': case 'hide_context': $title=i18n::translate('Hide contextual help'); - $text=i18n::translate('Hide Contextual Help'); + $text=i18n::translate('Hide contextual help'); break; case 'import_gedcom': diff --git a/hourglass.php b/hourglass.php index 475aa859fb..f04976c916 100644 --- a/hourglass.php +++ b/hourglass.php @@ -39,16 +39,16 @@ $controller = new HourglassController(); $controller->init(); // -- print html header information -print_header(PrintReady($controller->name)." ".i18n::translate('Hourglass Chart')); +print_header(PrintReady($controller->name)." ".i18n::translate('Hourglass chart')); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; if ($controller->view=="preview") { - print "<h2 style=\"text-align: center\">".i18n::translate('Hourglass Chart').": ".PrintReady($controller->name)."</h2>"; + print "<h2 style=\"text-align: center\">".i18n::translate('Hourglass chart').": ".PrintReady($controller->name)."</h2>"; } else { print "<!-- // NOTE: Start table header -->"; print "<table><tr><td valign=\"top\">"; - print "<h2>".i18n::translate('Hourglass Chart').":<br />".PrintReady($controller->name)."</h2>"; + print "<h2>".i18n::translate('Hourglass chart').":<br />".PrintReady($controller->name)."</h2>"; } $controller->setupJavascript(); diff --git a/imageview.php b/imageview.php index d8185a9270..6285f14505 100644 --- a/imageview.php +++ b/imageview.php @@ -32,7 +32,7 @@ require './includes/session.php'; $filename=decrypt(safe_GET('filename')); -print_simple_header(i18n::translate('Image Viewer')); +print_simple_header(i18n::translate('Image viewer')); ?> <script language="JavaScript" type="text/javascript"> diff --git a/includes/classes/class_menubar.php b/includes/classes/class_menubar.php index 2ca868933e..69f3980cbd 100644 --- a/includes/classes/class_menubar.php +++ b/includes/classes/class_menubar.php @@ -64,7 +64,7 @@ class MenuBar if ($TEXT_DIRECTION=='rtl') $ff='_rtl'; else $ff=''; //-- main menu - $menu = new Menu(i18n::translate('Home Page'), 'index.php?ctype=gedcom', 'down'); + $menu = new Menu(i18n::translate('Home page'), 'index.php?ctype=gedcom', 'down'); if (!empty($WT_IMAGES['gedcom']['large'])) $menu->addIcon($WT_IMAGE_DIR.'/'.$WT_IMAGES['gedcom']['large']); $menu->addClass("menuitem$ff", "menuitem_hover$ff", "submenu$ff", 'icon_large_gedcom'); @@ -123,7 +123,7 @@ class MenuBar $menu->addSubmenu($submenu); //-- editaccount submenu if (get_user_setting(WT_USER_ID, 'editaccount')) { - $submenu = new Menu(i18n::translate('My Account'), "edituser.php"); + $submenu = new Menu(i18n::translate('My account'), "edituser.php"); if (!empty($WT_IMAGES["mygedview"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["mygedview"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_mygedview"); @@ -167,7 +167,7 @@ class MenuBar $menu->addSubmenu($submenu); //-- manage_media submenu if (is_writable($MEDIA_DIRECTORY) && $MULTI_MEDIA) { - $submenu = new Menu(i18n::translate('Manage MultiMedia'), "media.php"); + $submenu = new Menu(i18n::translate('Manage multimedia'), "media.php"); if (!empty($WT_IMAGES["menu_media"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["menu_media"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_menu_media"); @@ -236,17 +236,17 @@ class MenuBar // Build a sortable list of submenu items and then sort it in localized name order $menuList = array(); $menuList["pedigree"] = i18n::translate('Pedigree Chart'); - if (file_exists(WT_ROOT.'descendancy.php')) $menuList["descendancy"] = i18n::translate('Descendancy Chart'); - if (file_exists(WT_ROOT.'ancestry.php')) $menuList["ancestry"] = i18n::translate('Ancestry Chart'); + if (file_exists(WT_ROOT.'descendancy.php')) $menuList["descendancy"] = i18n::translate('Descendancy chart'); + if (file_exists(WT_ROOT.'ancestry.php')) $menuList["ancestry"] = i18n::translate('Ancestry chart'); if (file_exists(WT_ROOT.'compact.php')) $menuList["compact"] = i18n::translate('Compact Chart'); - if (file_exists(WT_ROOT.'fanchart.php') && function_exists("imagettftext")) $menuList["fanchart"] = i18n::translate('Circle Diagram'); - if (file_exists(WT_ROOT.'hourglass.php')) $menuList["hourglass"] = i18n::translate('Hourglass Chart'); - if (file_exists(WT_ROOT.'familybook.php')) $menuList["familybook"] = i18n::translate('Family Book Chart'); + if (file_exists(WT_ROOT.'fanchart.php') && function_exists("imagettftext")) $menuList["fanchart"] = i18n::translate('Circle diagram'); + if (file_exists(WT_ROOT.'hourglass.php')) $menuList["hourglass"] = i18n::translate('Hourglass chart'); + if (file_exists(WT_ROOT.'familybook.php')) $menuList["familybook"] = i18n::translate('Family book chart'); if (file_exists(WT_ROOT.'timeline.php')) $menuList["timeline"] = i18n::translate('Timeline chart'); - if (file_exists(WT_ROOT.'lifespan.php')) $menuList["lifespan"] = i18n::translate('Lifespan Chart'); + if (file_exists(WT_ROOT.'lifespan.php')) $menuList["lifespan"] = i18n::translate('Lifespan chart'); if (file_exists(WT_ROOT.'relationship.php')) $menuList["relationship"] = i18n::translate('Relationship Chart'); if (file_exists(WT_ROOT.'statistics.php')) $menuList["statistics"] = i18n::translate('Statistics'); - if (file_exists(WT_ROOT.'treenav.php')) $menuList["treenav"] = i18n::translate('Interactive Tree'); + if (file_exists(WT_ROOT.'treenav.php')) $menuList["treenav"] = i18n::translate('Interactive tree'); if (file_exists(WT_ROOT.'modules/googlemap/pedigree_map.php')) { $menuList["pedigree_map"] = i18n::translate('Pedigree Map');//added for pedigree_map } @@ -270,7 +270,7 @@ class MenuBar //-- descendancy $link = "descendancy.php?ged=".WT_GEDCOM; if ($rootid) $link .= "&pid={$rootid}&show_full={$showFull}"; - $submenu = new Menu(i18n::translate('Descendancy Chart'), encode_url($link)); + $submenu = new Menu(i18n::translate('Descendancy chart'), encode_url($link)); if (!empty($WT_IMAGES["descendant"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["descendant"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_descendant"); @@ -281,7 +281,7 @@ class MenuBar //-- ancestry $link = "ancestry.php?ged=".WT_GEDCOM; if ($rootid) $link .= "&rootid={$rootid}&show_full={$showFull}"; - $submenu = new Menu(i18n::translate('Ancestry Chart'), encode_url($link)); + $submenu = new Menu(i18n::translate('Ancestry chart'), encode_url($link)); if (!empty($WT_IMAGES["ancestry"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["ancestry"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_ancestry"); @@ -303,7 +303,7 @@ class MenuBar //-- fan chart $link = "fanchart.php?ged=".WT_GEDCOM; if ($rootid) $link .= "&rootid=".$rootid; - $submenu = new Menu(i18n::translate('Circle Diagram'), encode_url($link)); + $submenu = new Menu(i18n::translate('Circle diagram'), encode_url($link)); if (!empty($WT_IMAGES["fanchart"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["fanchart"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_fanchart"); @@ -314,7 +314,7 @@ class MenuBar //-- hourglass $link = "hourglass.php?ged=".WT_GEDCOM; if ($rootid) $link .= "&pid={$rootid}&show_full={$showFull}"; - $submenu = new Menu(i18n::translate('Hourglass Chart'), encode_url($link)); + $submenu = new Menu(i18n::translate('Hourglass chart'), encode_url($link)); if (!empty($WT_IMAGES["hourglass"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["hourglass"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_hourglass"); @@ -325,7 +325,7 @@ class MenuBar //-- familybook $link = "familybook.php?ged=".WT_GEDCOM; if ($rootid) $link .= "&pid={$rootid}&show_full={$showFull}"; - $submenu = new Menu(i18n::translate('Family Book Chart'), encode_url($link)); + $submenu = new Menu(i18n::translate('Family book chart'), encode_url($link)); if (!empty($WT_IMAGES["fambook"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["fambook"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_fambook"); @@ -392,7 +392,7 @@ class MenuBar //-- lifespan $link = "lifespan.php?ged=".WT_GEDCOM; if ($rootid) $link .= "&pids[]={$rootid}&addFamily=1"; - $submenu = new Menu(i18n::translate('Lifespan Chart'), encode_url($link)); + $submenu = new Menu(i18n::translate('Lifespan chart'), encode_url($link)); if (!empty($WT_IMAGES["timeline"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["timeline"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_timeline"); @@ -455,7 +455,7 @@ class MenuBar //-- interactive tree $link = "treenav.php?ged=".WT_GEDCOM; if ($rootid) $link .= "&rootid=".$rootid; - $submenu = new Menu(i18n::translate('Interactive Tree'), encode_url($link)); + $submenu = new Menu(i18n::translate('Interactive tree'), encode_url($link)); if (!empty($WT_IMAGES["tree"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["tree"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_gedcom"); @@ -557,8 +557,8 @@ class MenuBar if ($style=="top" && file_exists(WT_ROOT.'sourcelist.php') && $SHOW_SOURCES>=WT_USER_ACCESS_LEVEL) $menuList["source"] = i18n::translate('Sources'); if ($style=="top" && file_exists(WT_ROOT.'notelist.php') && $SHOW_SOURCES>=WT_USER_ACCESS_LEVEL) $menuList["note"] = i18n::translate('Shared Notes'); if ($style=="top" && file_exists(WT_ROOT.'repolist.php')) $menuList["repository"] = i18n::translate('Repositories'); - if ($style=="top" && file_exists(WT_ROOT.'placelist.php')) $menuList["places"] = i18n::translate('Place Hierarchy'); - if ($style=="top" && file_exists(WT_ROOT.'medialist.php') && $MULTI_MEDIA) $menuList["media"] = i18n::translate('MultiMedia'); + if ($style=="top" && file_exists(WT_ROOT.'placelist.php')) $menuList["places"] = i18n::translate('Place hierarchy'); + if ($style=="top" && file_exists(WT_ROOT.'medialist.php') && $MULTI_MEDIA) $menuList["media"] = i18n::translate('Multimedia'); asort($menuList); // Produce the submenus in localized name order @@ -629,7 +629,7 @@ class MenuBar case "places": //-- places - $submenu = new Menu(i18n::translate('Place Hierarchy'), encode_url('placelist.php?ged='.WT_GEDCOM)); + $submenu = new Menu(i18n::translate('Place hierarchy'), encode_url('placelist.php?ged='.WT_GEDCOM)); if (!empty($WT_IMAGES["place"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["place"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_place"); @@ -638,7 +638,7 @@ class MenuBar case "media": //-- medialist - $submenu = new Menu(i18n::translate('MultiMedia'), encode_url('medialist.php?ged='.WT_GEDCOM)); + $submenu = new Menu(i18n::translate('Multimedia'), encode_url('medialist.php?ged='.WT_GEDCOM)); if (!empty($WT_IMAGES["menu_media"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["menu_media"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_menu_media"); @@ -663,7 +663,7 @@ class MenuBar return $menu; } //-- main calendar menu item - $menu = new Menu(i18n::translate('Anniversary Calendar'), encode_url('calendar.php?ged='.WT_GEDCOM), "down"); + $menu = new Menu(i18n::translate('Anniversary calendar'), encode_url('calendar.php?ged='.WT_GEDCOM), "down"); if (!empty($WT_IMAGES["calendar"]["large"])) $menu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["calendar"]["large"]); $menu->addClass("menuitem$ff", "menuitem_hover$ff", "submenu$ff", "icon_large_calendar"); @@ -807,14 +807,14 @@ class MenuBar $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_search"); $menu->addSubmenu($submenu); //-- advanced search - $submenu = new Menu(i18n::translate('Advanced Search'), encode_url("search_advanced.php?ged=".WT_GEDCOM)); + $submenu = new Menu(i18n::translate('Advanced search'), encode_url("search_advanced.php?ged=".WT_GEDCOM)); if (!empty($WT_IMAGES["search"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["search"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_search"); $menu->addSubmenu($submenu); //-- search_replace sub menu if (WT_USER_CAN_EDIT) { - $submenu = new Menu(i18n::translate('Search and Replace'), encode_url("search.php?ged=".WT_GEDCOM."&action=replace")); + $submenu = new Menu(i18n::translate('Search and replace'), encode_url("search.php?ged=".WT_GEDCOM."&action=replace")); if (!empty($WT_IMAGES["search"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["search"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_search"); @@ -892,7 +892,7 @@ class MenuBar $menu->addSubmenu($submenu); //-- faq sub menu if (file_exists(WT_ROOT.'faq.php')) { - $submenu = new Menu(i18n::translate('FAQ List'), "faq.php"); + $submenu = new Menu(i18n::translate('FAQ list'), "faq.php"); if (!empty($WT_IMAGES["menu_help"]["small"])) $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["menu_help"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_menu_help"); @@ -930,9 +930,9 @@ class MenuBar //-- add show/hide context_help $menu->addSeparator(); if ($_SESSION["show_context_help"]) - $submenu = new Menu(i18n::translate('Hide Contextual Help'), WT_SCRIPT_NAME.normalize_query_string($QUERY_STRING."&show_context_help=no")); + $submenu = new Menu(i18n::translate('Hide contextual help'), WT_SCRIPT_NAME.normalize_query_string($QUERY_STRING."&show_context_help=no")); else - $submenu = new Menu(i18n::translate('Show Contextual Help'), WT_SCRIPT_NAME.normalize_query_string($QUERY_STRING."&show_context_help=yes")); + $submenu = new Menu(i18n::translate('Show contextual help'), WT_SCRIPT_NAME.normalize_query_string($QUERY_STRING."&show_context_help=yes")); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_menu_help"); $menu->addSubmenu($submenu); return $menu; diff --git a/includes/config_data.php b/includes/config_data.php index c4b0e31946..79581a15e4 100644 --- a/includes/config_data.php +++ b/includes/config_data.php @@ -1447,7 +1447,7 @@ $FACTS=array( '_MARB_SIBL'=>i18n::translate('Marriage Banns of sibling'), '_MARI'=>i18n::translate('Marriage Intention'), '_MARNM'=>i18n::translate('Married Name'), - '_PRIM'=>i18n::translate('Highlighted Image'), + '_PRIM'=>i18n::translate('Highlighted image'), '_MARNM_SURN'=>i18n::translate('Married Surname'), '_MARR_CHIL'=>i18n::translate('Marriage of a child'), '_MARR_COUS'=>i18n::translate('Marriage of a first cousin'), diff --git a/includes/controllers/advancedsearch_ctrl.php b/includes/controllers/advancedsearch_ctrl.php index 81bbb8cc58..2a7d819966 100644 --- a/includes/controllers/advancedsearch_ctrl.php +++ b/includes/controllers/advancedsearch_ctrl.php @@ -123,7 +123,7 @@ class AdvancedSearchController extends SearchController { } function getPageTitle() { - if ($this->action=="advanced") return i18n::translate('Advanced Search'); + if ($this->action=="advanced") return i18n::translate('Advanced search'); else parent :: getPageTitle(); } diff --git a/includes/controllers/ancestry_ctrl.php b/includes/controllers/ancestry_ctrl.php index 49dd4b5d68..012c1ccdc3 100644 --- a/includes/controllers/ancestry_ctrl.php +++ b/includes/controllers/ancestry_ctrl.php @@ -153,9 +153,9 @@ class AncestryControllerRoot extends BaseController { print "</td>"; print "<td>"; if ($TEXT_DIRECTION=="ltr") { - $label = i18n::translate('Ancestry Chart').": ".$pid; + $label = i18n::translate('Ancestry chart').": ".$pid; } else { - $label = $pid." :".i18n::translate('Ancestry Chart'); + $label = $pid." :".i18n::translate('Ancestry chart'); } if ($sosa>1) print_url_arrow($pid, encode_url("?rootid={$pid}&PEDIGREE_GENERATIONS={$OLD_PGENS}&show_full={$this->show_full}&box_width={$box_width}&chart_style={$this->chart_style}"), $label, 3); print "</td>"; diff --git a/includes/controllers/family_ctrl.php b/includes/controllers/family_ctrl.php index 7821fb68e4..7d01dc582c 100644 --- a/includes/controllers/family_ctrl.php +++ b/includes/controllers/family_ctrl.php @@ -167,7 +167,7 @@ class FamilyRoot extends BaseController { } if ($this->showLivingHusb == false && $this->showLivingWife == false) { - print_header(i18n::translate('Private')." ".i18n::translate('Family Information')); + print_header(i18n::translate('Private')." ".i18n::translate('Family information')); print_privacy_error(); print_footer(); exit; diff --git a/includes/controllers/individual_ctrl.php b/includes/controllers/individual_ctrl.php index a36e4c12df..026336208e 100644 --- a/includes/controllers/individual_ctrl.php +++ b/includes/controllers/individual_ctrl.php @@ -348,7 +348,7 @@ class IndividualControllerRoot extends BaseController { function getPageTitle() { if ($this->indi) { $name = $this->indi->getFullName(); - return $name." - ".$this->indi->getXref()." - ".i18n::translate('Individual Information'); + return $name." - ".$this->indi->getXref()." - ".i18n::translate('Individual information'); } else { return i18n::translate('Unable to find record with ID'); } @@ -511,8 +511,8 @@ class IndividualControllerRoot extends BaseController { } echo "\n\t\t</dl>"; if ($this->total_names>1 && !$this->isPrintPreview() && $this->userCanEdit() && !strpos($factrec, 'WT_OLD')) { - echo " <a href=\"javascript:;\" class=\"font9\" onclick=\"edit_name('".$this->pid."', ".$linenum."); return false;\">", i18n::translate('Edit Name'), "</a> | "; - echo "<a class=\"font9\" href=\"javascript:;\" onclick=\"delete_record('".$this->pid."', ".$linenum."); return false;\">", i18n::translate('Delete Name'), "</a>"; + echo " <a href=\"javascript:;\" class=\"font9\" onclick=\"edit_name('".$this->pid."', ".$linenum."); return false;\">", i18n::translate('Edit name'), "</a> | "; + echo "<a class=\"font9\" href=\"javascript:;\" onclick=\"delete_record('".$this->pid."', ".$linenum."); return false;\">", i18n::translate('Delete name'), "</a>"; if ($this->name_count==2) { echo help_link('delete_name'); } @@ -612,7 +612,7 @@ class IndividualControllerRoot extends BaseController { //--make sure the totals are correct $this->getGlobalFacts(); if ($this->total_names<2) { - $submenu = new Menu(i18n::translate('Edit Name')); + $submenu = new Menu(i18n::translate('Edit name')); $submenu->addOnclick("return edit_name('".$this->pid."', $this->NAME_LINENUM);"); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff"); $menu->addSubmenu($submenu); @@ -624,7 +624,7 @@ class IndividualControllerRoot extends BaseController { $menu->addSubmenu($submenu); if ($this->SEX_COUNT<2) { - $submenu = new Menu(i18n::translate('Edit Gender')); + $submenu = new Menu(i18n::translate('Edit gender')); if ($this->SEX_LINENUM=="new") $submenu->addOnclick("return add_new_record('".$this->pid."', 'SEX');"); else $submenu->addOnclick("return edit_record('".$this->pid."', $this->SEX_LINENUM);"); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff"); diff --git a/includes/controllers/repository_ctrl.php b/includes/controllers/repository_ctrl.php index c9147f7ab7..89499b638b 100644 --- a/includes/controllers/repository_ctrl.php +++ b/includes/controllers/repository_ctrl.php @@ -77,7 +77,7 @@ class RepositoryControllerRoot extends BaseController { $this->repository->ged_id=WT_GED_ID; // This record is from a file if (!$this->repository->canDisplayDetails()) { - print_header(i18n::translate('Private')." ".i18n::translate('Repository Information')); + print_header(i18n::translate('Private')." ".i18n::translate('Repository information')); print_privacy_error(); print_footer(); exit; @@ -166,7 +166,7 @@ class RepositoryControllerRoot extends BaseController { */ function getPageTitle() { if ($this->repository) { - return $this->repository->getFullName()." - ".$this->rid." - ".i18n::translate('Repository Information'); + return $this->repository->getFullName()." - ".$this->rid." - ".i18n::translate('Repository information'); } else { return i18n::translate('Unable to find record with ID'); } @@ -213,7 +213,7 @@ class RepositoryControllerRoot extends BaseController { } // edit repository / delete_repository - $submenu = new Menu(i18n::translate('Delete Repository')); + $submenu = new Menu(i18n::translate('Delete repository')); $submenu->addOnclick("if (confirm('".i18n::translate('Are you sure you want to delete this Repository?')."')) return deleterepository('".$this->rid."'); else return false;"); if (!empty($WT_IMAGES["edit_repo"]["small"])) $submenu->addIcon("{$WT_IMAGE_DIR}/{$WT_IMAGES['edit_repo']['small']}"); diff --git a/includes/controllers/search_ctrl.php b/includes/controllers/search_ctrl.php index bf5dd03ba3..6c7f86588f 100644 --- a/includes/controllers/search_ctrl.php +++ b/includes/controllers/search_ctrl.php @@ -313,7 +313,7 @@ class SearchControllerRoot extends BaseController { case 'soundex': return i18n::translate('Soundex Search'); case 'replace': - return i18n::translate('Search and Replace'); + return i18n::translate('Search and replace'); case 'multisite': return i18n::translate('Multi Site Search'); } diff --git a/includes/family_nav.php b/includes/family_nav.php index 1947716062..ea9284f57d 100644 --- a/includes/family_nav.php +++ b/includes/family_nav.php @@ -574,16 +574,16 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Husband ------------------------------ if ($husb || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($husb) { $person_parent="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$husb->getXref(); + $title = i18n::translate('Individual information').": ".$husb->getXref(); }else{ - $title = $husb->getXref()." :".i18n::translate('Individual Information'); + $title = $husb->getXref()." :".i18n::translate('Individual information'); } $parentlinks .= "<a href=\"".encode_url($husb->getLinkUrl()."&tab={$tabno}")."\">"; $parentlinks .= " ".PrintReady($husb->getFullName()); @@ -596,16 +596,16 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Wife ------------------------------ if ($wife || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($wife) { $person_parent="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$wife->getXref(); + $title = i18n::translate('Individual information').": ".$wife->getXref(); }else{ - $title = $wife->getXref()." :".i18n::translate('Individual Information'); + $title = $wife->getXref()." :".i18n::translate('Individual information'); } $parentlinks .= "<a href=\"".encode_url($wife->getLinkUrl()."&tab={$tabno}")."\">"; $parentlinks .= " ".PrintReady($wife->getFullName()); @@ -632,16 +632,16 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Husband ----------------------- if ($husb || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($husb) { $person_step="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$husb->getXref(); + $title = i18n::translate('Individual information').": ".$husb->getXref(); }else{ - $title = $husb->getXref()." :".i18n::translate('Individual Information'); + $title = $husb->getXref()." :".i18n::translate('Individual information'); } $parentlinks .= "<a href=\"".encode_url($husb->getLinkUrl()."&tab={$tabno}")."\">"; $parentlinks .= " ".PrintReady($husb->getFullName()); @@ -656,16 +656,16 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Wife ---------------------------- if ($wife || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($wife) { $person_step="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$wife->getXref(); + $title = i18n::translate('Individual information').": ".$wife->getXref(); }else{ - $title = $wife->getXref()." :".i18n::translate('Individual Information'); + $title = $wife->getXref()." :".i18n::translate('Individual information'); } $parentlinks .= "<a href=\"".encode_url($wife->getLinkUrl()."&tab={$tabno}")."\">"; $parentlinks .= " ".PrintReady($wife->getFullName()); @@ -688,15 +688,15 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Spouse ------------------------------ if ($spouse || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($spouse) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$spouse->getXref(); + $title = i18n::translate('Individual information').": ".$spouse->getXref(); }else{ - $title = $spouse->getXref()." :".i18n::translate('Individual Information'); + $title = $spouse->getXref()." :".i18n::translate('Individual information'); } $spouselinks .= "<a href=\"".encode_url($spouse->getLinkUrl()."&tab={$tabno}")."\">"; $spouselinks .= " ".PrintReady($spouse->getFullName()); @@ -711,7 +711,7 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, foreach($children as $c=>$child) { if ($child) { $persons="Yes"; - $title = i18n::translate('Individual Information').": ".$child->getXref(); + $title = i18n::translate('Individual information').": ".$child->getXref(); $spouselinks .= "<li>"; $spouselinks .= "<a href=\"".encode_url($child->getLinkUrl()."&tab={$tabno}")."\">"; $spouselinks .= PrintReady($child->getFullName()); diff --git a/includes/functions/functions_edit.php b/includes/functions/functions_edit.php index 10c434b698..1f82bcaffc 100644 --- a/includes/functions/functions_edit.php +++ b/includes/functions/functions_edit.php @@ -1261,7 +1261,7 @@ function add_simple_tag($tag, $upperlevel='', $label='', $readOnly='', $noClose= // tag name if (!empty($label)) { if ($label=="Note" && $islink){ - echo i18n::translate('Shared Note'); + echo i18n::translate('Shared note'); }else{ echo $label; } @@ -1272,7 +1272,7 @@ function add_simple_tag($tag, $upperlevel='', $label='', $readOnly='', $noClose= if (file_exists(WT_ROOT.'modules/GEDFact_assistant/_CENS/census_1_ctrl.php') && $pid && $label=="GEDFact Assistant") { // use $label (GEDFact Assistant); }else{ - echo i18n::translate('Shared Note'); + echo i18n::translate('Shared note'); } */ } else { @@ -1481,8 +1481,8 @@ function add_simple_tag($tag, $upperlevel='', $label='', $readOnly='', $noClose= echo "<input type=\"hidden\" id=\"", $element_id, "\" name=\"", $element_name, "\" onchange=\"updateTextName('", $element_id, "');\" value=\"", PrintReady(htmlspecialchars($value, ENT_COMPAT, 'UTF-8')), "\" />"; echo "<span id=\"", $element_id, "_display\">", PrintReady(htmlspecialchars($value, ENT_COMPAT, 'UTF-8')), "</span>"; echo " <a href=\"#edit_name\" onclick=\"convertHidden('", $element_id, "'); return false;\"> "; - if (isset($WT_IMAGES["edit_indi"]["small"])) echo "<img src=\"", $WT_IMAGE_DIR, "/", $WT_IMAGES["edit_indi"]["small"], "\" border=\"0\" width=\"20\" alt=\"", i18n::translate('Edit Name'), "\" align=\"top\" />"; - else echo "<span class=\"age\">[", i18n::translate('Edit Name'), "]</span>"; + if (isset($WT_IMAGES["edit_indi"]["small"])) echo "<img src=\"", $WT_IMAGE_DIR, "/", $WT_IMAGES["edit_indi"]["small"], "\" border=\"0\" width=\"20\" alt=\"", i18n::translate('Edit name'), "\" align=\"top\" />"; + else echo "<span class=\"age\">[", i18n::translate('Edit name'), "]</span>"; echo "</a>"; } else { // textarea diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 267e9debaa..1d61b2dff4 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -124,14 +124,14 @@ function print_pedigree_person($pid, $style=1, $show_famlink=true, $count=0, $pe } } - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Descendancy Chart').": ".$pid; - else $title = $pid." :".i18n::translate('Descendancy Chart'); - $personlinks .= "<br /><a href=\"".encode_url("descendancy.php?pid={$pid}&show_full={$PEDIGREE_FULL_DETAILS}&generations={$generations}&box_width={$box_width}&ged={$GEDCOM}")."\" title=\"$title\" $mouseAction1><b>".i18n::translate('Descendancy Chart')."</b></a><br />"; + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Descendancy chart').": ".$pid; + else $title = $pid." :".i18n::translate('Descendancy chart'); + $personlinks .= "<br /><a href=\"".encode_url("descendancy.php?pid={$pid}&show_full={$PEDIGREE_FULL_DETAILS}&generations={$generations}&box_width={$box_width}&ged={$GEDCOM}")."\" title=\"$title\" $mouseAction1><b>".i18n::translate('Descendancy chart')."</b></a><br />"; if (file_exists(WT_ROOT.'ancestry.php')) { - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Ancestry Chart').": ".$pid; - else $title = $pid." :".i18n::translate('Ancestry Chart'); - $personlinks .= "<a href=\"".encode_url("ancestry.php?rootid={$pid}&show_full={$PEDIGREE_FULL_DETAILS}&chart_style={$chart_style}&PEDIGREE_GENERATIONS={$OLD_PGENS}&box_width={$box_width}&ged={$GEDCOM}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Ancestry Chart')."</b></a><br />"; + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Ancestry chart').": ".$pid; + else $title = $pid." :".i18n::translate('Ancestry chart'); + $personlinks .= "<a href=\"".encode_url("ancestry.php?rootid={$pid}&show_full={$PEDIGREE_FULL_DETAILS}&chart_style={$chart_style}&PEDIGREE_GENERATIONS={$OLD_PGENS}&box_width={$box_width}&ged={$GEDCOM}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Ancestry chart')."</b></a><br />"; } if (file_exists(WT_ROOT.'compact.php')) { if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Compact Chart').": ".$pid; @@ -139,19 +139,19 @@ function print_pedigree_person($pid, $style=1, $show_famlink=true, $count=0, $pe $personlinks .= "<a href=\"".encode_url("compact.php?rootid={$pid}&ged={$GEDCOM}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Compact Chart')."</b></a><br />"; } if (file_exists(WT_ROOT.'fanchart.php') and defined("IMG_ARC_PIE") and function_exists("imagettftext")) { - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Circle Diagram').": ".$pid; - else $title = $pid." :".i18n::translate('Circle Diagram'); - $personlinks .= "<a href=\"".encode_url("fanchart.php?rootid={$pid}&PEDIGREE_GENERATIONS={$OLD_PGENS}&ged={$GEDCOM}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Circle Diagram')."</b></a><br />"; + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Circle diagram').": ".$pid; + else $title = $pid." :".i18n::translate('Circle diagram'); + $personlinks .= "<a href=\"".encode_url("fanchart.php?rootid={$pid}&PEDIGREE_GENERATIONS={$OLD_PGENS}&ged={$GEDCOM}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Circle diagram')."</b></a><br />"; } if (file_exists(WT_ROOT.'hourglass.php')) { - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Hourglass Chart').": ".$pid; - else $title = $pid." :".i18n::translate('Hourglass Chart'); - $personlinks .= "<a href=\"".encode_url("hourglass.php?pid={$pid}&show_full={$PEDIGREE_FULL_DETAILS}&chart_style={$chart_style}&PEDIGREE_GENERATIONS={$OLD_PGENS}&box_width={$box_width}&ged={$GEDCOM}&show_spouse={$show_spouse}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Hourglass Chart')."</b></a><br />"; + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Hourglass chart').": ".$pid; + else $title = $pid." :".i18n::translate('Hourglass chart'); + $personlinks .= "<a href=\"".encode_url("hourglass.php?pid={$pid}&show_full={$PEDIGREE_FULL_DETAILS}&chart_style={$chart_style}&PEDIGREE_GENERATIONS={$OLD_PGENS}&box_width={$box_width}&ged={$GEDCOM}&show_spouse={$show_spouse}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Hourglass chart')."</b></a><br />"; } if (file_exists(WT_ROOT.'treenav.php')) { - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Interactive Tree').": ".$pid; - else $title = $pid." :".i18n::translate('Interactive Tree'); - $personlinks .= "<a href=\"".encode_url("treenav.php?rootid={$pid}&ged={$GEDCOM}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Interactive Tree')."</b></a><br />"; + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Interactive tree').": ".$pid; + else $title = $pid." :".i18n::translate('Interactive tree'); + $personlinks .= "<a href=\"".encode_url("treenav.php?rootid={$pid}&ged={$GEDCOM}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Interactive tree')."</b></a><br />"; } $fams = $person->getSpouseFamilies(); @@ -163,12 +163,12 @@ function print_pedigree_person($pid, $style=1, $show_famlink=true, $count=0, $pe $children = $family->getChildren(); $num = count($children); if ((!empty($spouse))||($num>0)) { - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Family Book Chart').": ".$famid; - else $title = $famid." :".i18n::translate('Family Book Chart'); + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Family book chart').": ".$famid; + else $title = $famid." :".i18n::translate('Family book chart'); $personlinks .= "<a href=\"".encode_url("family.php?famid={$famid}&show_full=1&ged={$GEDCOM}")."\" title=\"$title\" ".$mouseAction1."><b>".i18n::translate('Family with spouse')."</b></a><br />"; if (!empty($spouse)) { - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Individual Information').": ".$spouse->getXref(); - else $title = $spouse->getXref()." :".i18n::translate('Individual Information'); + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Individual information').": ".$spouse->getXref(); + else $title = $spouse->getXref()." :".i18n::translate('Individual information'); $personlinks .= "<a href=\"".encode_url($spouse->getLinkUrl())."\" title=\"$title\" $mouseAction1>"; if ($spouse->canDisplayName()) $personlinks .= PrintReady($spouse->getFullName()); else $personlinks .= i18n::translate('Private'); @@ -177,8 +177,8 @@ function print_pedigree_person($pid, $style=1, $show_famlink=true, $count=0, $pe } /* @var $child Person */ foreach($children as $c=>$child) { - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Individual Information').": ".$child->getXref(); - else $title = $child->getXref()." :".i18n::translate('Individual Information'); + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Individual information').": ".$child->getXref(); + else $title = $child->getXref()." :".i18n::translate('Individual information'); $personlinks .= " <a href=\"".encode_url($child->getLinkUrl())."\" title=\"$title\" $mouseAction1>"; if ($child->canDisplayName()) $personlinks .= PrintReady($child->getFullName()); else $personlinks .= i18n::translate('Private'); @@ -342,8 +342,8 @@ function print_pedigree_person($pid, $style=1, $show_famlink=true, $count=0, $pe //$name = PrintReady(htmlspecialchars(strip_tags($name), ENT_QUOTES, 'UTF-8')); $name = PrintReady($name); - if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Individual Information').": ".$pid; - else $title = $pid." :".i18n::translate('Individual Information'); + if ($TEXT_DIRECTION=="ltr") $title = i18n::translate('Individual information').": ".$pid; + else $title = $pid." :".i18n::translate('Individual information'); // add optional CSS style for each fact $indirec = $person->getGedcomRecord(); $cssfacts = array("BIRT", "CHR", "DEAT", "BURI", "CREM", "ADOP", "BAPM", "BARM", "BASM", "BLES", "CHRA", "CONF", "FCOM", "ORDN", "NATU", "EMIG", "IMMI", "CENS", "PROB", "WILL", "GRAD", "RETI", "CAST", "DSCR", "EDUC", "IDNO", @@ -1137,7 +1137,7 @@ function print_note_record($text, $nlevel, $nrec, $textOnly=false, $return=false // Check if Shared Note ----------------------------- if (preg_match('/^0 @'.WT_REGEX_XREF.'@ NOTE/', $nrec)) { - $data .= i18n::translate('Shared Note').": </span> - "; + $data .= i18n::translate('Shared note').": </span> - "; }else{ $data .= i18n::translate('Note').": </span>"; } @@ -2160,7 +2160,7 @@ function init_calendar_popup() { function print_findindi_link($element_id, $indiname, $asString=false, $multiple=false, $ged='', $filter='') { global $WT_IMAGE_DIR, $WT_IMAGES, $GEDCOM; - $text = i18n::translate('Find Individual ID'); + $text = i18n::translate('Find individual ID'); if (empty($ged)) $ged=$GEDCOM; if (isset($WT_IMAGES["indi"]["button"])) $Link = "<img src=\"".$WT_IMAGE_DIR."/".$WT_IMAGES["indi"]["button"]."\" alt=\"".$text."\" title=\"".$text."\" border=\"0\" align=\"middle\" />"; else $Link = $text; @@ -2271,7 +2271,7 @@ function print_findmedia_link($element_id, $choose="", $ged='', $asString=false) global $WT_IMAGE_DIR, $WT_IMAGES, $GEDCOM; if (empty($ged)) $ged=$GEDCOM; - $text = i18n::translate('Find Media'); + $text = i18n::translate('Find media'); if (isset($WT_IMAGES["media"]["button"])) $Link = "<img src=\"".$WT_IMAGE_DIR."/".$WT_IMAGES["media"]["button"]."\" alt=\"".$text."\" title=\"".$text."\" border=\"0\" align=\"middle\" />"; else $Link = $text; $out = " <a href=\"javascript:;\" onclick=\"findMedia(document.getElementById('".$element_id."'), '".$choose."', '".$ged."'); return false;\">"; diff --git a/indilist.php b/indilist.php index d4490f7f3e..cabe9b5ca1 100644 --- a/indilist.php +++ b/indilist.php @@ -183,10 +183,10 @@ if (!$SEARCH_SPIDER) { echo '<p class="center">'; if ($alpha!='@' && $alpha!=',' && !$surname) { if ($surname_sublist=='yes') { - echo '<a href="', $url, '&surname_sublist=no">', i18n::translate('Skip Surname lists'), '</a>'; + echo '<a href="', $url, '&surname_sublist=no">', i18n::translate('Skip surname lists'), '</a>'; echo help_link('skip_sublist', 'qm', 'skip_surnames'); } else { - echo '<a href="', $url, '&surname_sublist=yes">', i18n::translate('Show Surname lists'), '</a>'; + echo '<a href="', $url, '&surname_sublist=yes">', i18n::translate('Show surname lists'), '</a>'; echo help_link('skip_sublist', 'qm', 'show_surnames'); } echo ' '; diff --git a/inverselink.php b/inverselink.php index 0b2b4fd54d..2b3814889e 100644 --- a/inverselink.php +++ b/inverselink.php @@ -67,7 +67,7 @@ if (WT_USER_IS_ADMIN && $linkto=='manage' && file_exists(WT_ROOT.'modules/GEDFac } } - print_simple_header(i18n::translate('Link Media')." ".$toitems); + print_simple_header(i18n::translate('Link media')." ".$toitems); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; @@ -115,7 +115,7 @@ if (WT_USER_IS_ADMIN && $linkto=='manage' && file_exists(WT_ROOT.'modules/GEDFac echo '<input type="hidden" name="ged" value="', $GEDCOM, '" />'; echo '<table class="facts_table center ', $TEXT_DIRECTION, '">'; echo '<tr><td class="topbottombar" colspan="2">'; - echo i18n::translate('Link Media'), help_link('add_media_linkid'), ' ', $toitems; + echo i18n::translate('Link media'), help_link('add_media_linkid'), ' ', $toitems; echo '</td></tr><tr><td class="descriptionbox width20 wrap">', i18n::translate('Media ID'), '</td>'; echo '<td class="optionbox wrap">'; if (!empty($mediaid)) { @@ -202,7 +202,7 @@ if (WT_USER_IS_ADMIN && $linkto=='manage' && file_exists(WT_ROOT.'modules/GEDFac } if ($linkto == "note") { - echo i18n::translate('Shared Note'), "</td>"; + echo i18n::translate('Shared note'), "</td>"; echo '<td class="optionbox wrap">'; if ($linktoid=="") { echo '<input class="pedigree_form" type="text" name="linktoid" id="linktonid" size="3" value="', $linktoid, '" />'; diff --git a/lifespan.php b/lifespan.php index e5691af4f9..84c7bca0c7 100644 --- a/lifespan.php +++ b/lifespan.php @@ -41,7 +41,7 @@ $controller->init(); $zoomfactor = 10; //if peeps !null then pass new array for zooming -print_header(i18n::translate('Lifespan Chart')); +print_header(i18n::translate('Lifespan chart')); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; ?> @@ -54,7 +54,7 @@ if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; //--> </script> -<h2><?php print i18n::translate('Lifespan Chart'); ?></h2> +<h2><?php print i18n::translate('Lifespan chart'); ?></h2> <table><tr><td> <form name="people" action="lifespan.php"> diff --git a/login_register.php b/login_register.php index d9410c88d0..e5a31a4831 100644 --- a/login_register.php +++ b/login_register.php @@ -274,10 +274,10 @@ switch ($action) { <?php $i = 1;?> <tr><td class="topbottombar" colspan="2"><?php echo i18n::translate('Request new user account'), help_link('register_info_0'.$WELCOME_TEXT_AUTH_MODE); ?><br /><?php if (strlen($message) > 0) echo $message; ?></td></tr> <tr><td class="descriptionbox wrap <?php echo $TEXT_DIRECTION; ?>"><?php echo i18n::translate('Real name'), help_link('new_user_realname'); ?></td><td class="optionbox <?php echo $TEXT_DIRECTION; ?>"><input type="text" name="user_realname" value="<?php if (!$user_realname_false) echo $user_realname;?>" tabindex="<?php echo $i++;?>" /> *</td></tr> - <tr><td class="descriptionbox wrap <?php echo $TEXT_DIRECTION; ?>"><?php echo i18n::translate('Email Address'), help_link('edituser_email'); ?></td><td class="optionbox <?php echo $TEXT_DIRECTION; ?>"><input type="text" size="30" name="user_email" value="<?php if (!$user_email_false) echo $user_email;?>" tabindex="<?php echo $i++;?>" /> *</td></tr> + <tr><td class="descriptionbox wrap <?php echo $TEXT_DIRECTION; ?>"><?php echo i18n::translate('Email address'), help_link('edituser_email'); ?></td><td class="optionbox <?php echo $TEXT_DIRECTION; ?>"><input type="text" size="30" name="user_email" value="<?php if (!$user_email_false) echo $user_email;?>" tabindex="<?php echo $i++;?>" /> *</td></tr> <tr><td class="descriptionbox wrap <?php echo $TEXT_DIRECTION; ?>"><?php echo i18n::translate('Desired user name'), help_link('username'); ?></td><td class="optionbox <?php echo $TEXT_DIRECTION; ?>"><input type="text" name="user_name" value="<?php if (!$user_name_false) echo $user_name;?>" tabindex="<?php echo $i;?>" /> *</td></tr> <tr><td class="descriptionbox wrap <?php echo $TEXT_DIRECTION; ?>"><?php echo i18n::translate('Desired password'), help_link('edituser_password'); ?></td><td class="optionbox <?php echo $TEXT_DIRECTION; ?>"><input type="password" name="user_password01" value="" tabindex="<?php echo $i++;?>" /> *</td></tr> - <tr><td class="descriptionbox wrap <?php echo $TEXT_DIRECTION; ?>"><?php echo i18n::translate('Confirm Password'), help_link('edituser_conf_password'); ?></td><td class="optionbox <?php echo $TEXT_DIRECTION; ?>"><input type="password" name="user_password02" value="" tabindex="<?php echo $i++;?>" /> *</td></tr> + <tr><td class="descriptionbox wrap <?php echo $TEXT_DIRECTION; ?>"><?php echo i18n::translate('Confirm password'), help_link('edituser_conf_password'); ?></td><td class="optionbox <?php echo $TEXT_DIRECTION; ?>"><input type="password" name="user_password02" value="" tabindex="<?php echo $i++;?>" /> *</td></tr> <?php echo "<tr><td class=\"descriptionbox wrap ", $TEXT_DIRECTION, "\">"; echo i18n::translate('Change language'), help_link('edituser_change_lang'); diff --git a/manageservers.php b/manageservers.php index 36204932ca..e61c7aeaf8 100644 --- a/manageservers.php +++ b/manageservers.php @@ -39,7 +39,7 @@ require_once WT_ROOT.'includes/functions/functions_edit.php'; require_once WT_ROOT.'includes/functions/functions_import.php'; require_once WT_ROOT.'includes/classes/class_serviceclient.php'; -print_header(i18n::translate('Manage Sites')); +print_header(i18n::translate('Manage sites')); //-- only allow gedcom admins here if (!WT_USER_GEDCOM_ADMIN) { print i18n::translate('<b>Access Denied</b><br />You do not have access to this resource.'); @@ -217,7 +217,7 @@ function showSite(siteID) { <table class="width66" align="center"> <tr> <td colspan="2" class="title" align="center"> - <?php echo i18n::translate('Manage Sites');?> + <?php echo i18n::translate('Manage sites');?> </td> </tr> <tr> @@ -256,7 +256,7 @@ if (WT_USER_IS_ADMIN) { } // Print the header of the page -print_header(i18n::translate('Manage MultiMedia')); +print_header(i18n::translate('Manage multimedia')); ?> <script language="JavaScript" type="text/javascript"> <!-- @@ -766,7 +766,7 @@ if (check_media_structure()) { <input type="hidden" name="all" value="true" /> <input type="hidden" name="subclick" /> <table class="facts_table center width75 <?php print $TEXT_DIRECTION; ?>"> - <tr><td class="topbottombar" colspan="4"><?php echo i18n::translate('Manage MultiMedia'), help_link('manage_media'); ?></td></tr> + <tr><td class="topbottombar" colspan="4"><?php echo i18n::translate('Manage multimedia'), help_link('manage_media'); ?></td></tr> <?php if ($TEXT_DIRECTION=='ltr') $legendAlign = 'align="right"'; else $legendAlign = 'align="left"'; diff --git a/module_admin.php b/module_admin.php index d46139d413..b62274209d 100644 --- a/module_admin.php +++ b/module_admin.php @@ -140,7 +140,7 @@ if ($action=='update_mods') { } } -print_header(i18n::translate('Module Administration')); +print_header(i18n::translate('Module administration')); ?> <style type="text/css"> <!-- @@ -227,7 +227,7 @@ print_header(i18n::translate('Module Administration')); <div align="center"> <div class="width75"> -<p><?php echo "<h2>".i18n::translate('Module Administration')."</h2>"; ?></p> +<p><?php echo "<h2>".i18n::translate('Module administration')."</h2>"; ?></p> <p><?php echo i18n::translate('Below is the list of all the modules installed in this instance of webtrees. Modules are installed by placing them in the <i>modules</i> directory. Here you can set the access level per GEDCOM for each module. If a module includes tabs for the individual page or menus for the menu bar, you can also set the access level and order of each of them.')?></p> <p><input TYPE="button" VALUE="<?php echo i18n::translate('Return to Administration page');?>" onclick="javascript:window.location='admin.php'" /></p> diff --git a/modules/GEDFact_assistant/_CENS/census_3_find.php b/modules/GEDFact_assistant/_CENS/census_3_find.php index effd22c399..e7e778dc88 100644 --- a/modules/GEDFact_assistant/_CENS/census_3_find.php +++ b/modules/GEDFact_assistant/_CENS/census_3_find.php @@ -92,13 +92,13 @@ require WT_ROOT.'includes/specialchars.php'; switch ($type) { case "indi": - print_simple_header(i18n::translate('Find Individual ID')); + print_simple_header(i18n::translate('Find individual ID')); break; case "fam": print_simple_header(i18n::translate('Find Family List')); break; case "media": - print_simple_header(i18n::translate('Find Media')); + print_simple_header(i18n::translate('Find media')); $action="filter"; break; case "place": @@ -203,13 +203,13 @@ echo "<tr><td style=\"padding: 10px;\" valign=\"top\" class=\"facts_label03 widt switch ($type) { case "indi": - echo i18n::translate('Find Individual ID'); + echo i18n::translate('Find individual ID'); break; case "fam": echo i18n::translate('Find Family List'); break; case "media": - echo i18n::translate('Find Media'); + echo i18n::translate('Find media'); break; case "place": echo i18n::translate('Find Place'); diff --git a/modules/GEDFact_assistant/_CENS/census_3_search_add.php b/modules/GEDFact_assistant/_CENS/census_3_search_add.php index 92c5d87799..d6586b627e 100644 --- a/modules/GEDFact_assistant/_CENS/census_3_search_add.php +++ b/modules/GEDFact_assistant/_CENS/census_3_search_add.php @@ -1565,9 +1565,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 //-- Parent Husband ------------------------------ if ($husb || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($husb) { //-- Parent Husbands Parents ---------------------- @@ -1584,9 +1584,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 //-- Parent Husbands Details ---------------------- $person_parent="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$husb->getXref(); + $title = i18n::translate('Individual information').": ".$husb->getXref(); }else{ - $title = $husb->getXref()." :".i18n::translate('Individual Information'); + $title = $husb->getXref()." :".i18n::translate('Individual information'); } $tmp=$husb->getXref(); if ($husb->canDisplayName()) { @@ -1657,9 +1657,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 //-- Parent Wife ------------------------------ if ($wife || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($wife) { //-- Parent Wifes Parents ---------------------- @@ -1676,9 +1676,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 //-- Parent Wifes Details ---------------------- $person_parent="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$wife->getXref(); + $title = i18n::translate('Individual information').": ".$wife->getXref(); } else { - $title = $wife->getXref()." :".i18n::translate('Individual Information'); + $title = $wife->getXref()." :".i18n::translate('Individual information'); } $tmp=$wife->getXref(); if ($wife->canDisplayName()) { @@ -1792,9 +1792,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 }else{ if ( ($husb || $num>0) && $husb->getLabel() != "." ) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($husb) { //-- Step Husbands Parents ----------------------------- @@ -1811,9 +1811,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 //-- Step Husband Details ------------------------------ $person_step="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$husb->getXref(); + $title = i18n::translate('Individual information').": ".$husb->getXref(); }else{ - $title = $husb->getXref()." :".i18n::translate('Individual Information'); + $title = $husb->getXref()." :".i18n::translate('Individual information'); } $tmp=$husb->getXref(); if ($husb->canDisplayName()) { @@ -1887,9 +1887,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 }else{ if ($wife || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($wife) { //-- Step Wifes Parents --------------------------- @@ -1906,9 +1906,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 //-- Step Wife Details ------------------------------ $person_step="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$wife->getXref(); + $title = i18n::translate('Individual information').": ".$wife->getXref(); }else{ - $title = $wife->getXref()." :".i18n::translate('Individual Information'); + $title = $wife->getXref()." :".i18n::translate('Individual information'); } $tmp=$wife->getXref(); if ($wife->canDisplayName()) { @@ -2018,9 +2018,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 //-- Spouse ----------------------------------------- if ($spouse || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($spouse) { @@ -2038,9 +2038,9 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 //-- Spouse Details ----------------------------- if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$spouse->getXref(); + $title = i18n::translate('Individual information').": ".$spouse->getXref(); }else{ - $title = $spouse->getXref()." :".i18n::translate('Individual Information'); + $title = $spouse->getXref()." :".i18n::translate('Individual information'); } $tmp=$spouse->getXref(); if ($spouse->canDisplayName()) { @@ -2169,7 +2169,7 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 } // Childs Details ------------------------- - $title = i18n::translate('Individual Information').": ".$cpid; + $title = i18n::translate('Individual information').": ".$cpid; // $spouselinks .= "\n\t\t\t\to "; $spouselinks .= "<li>\n"; if ($child->canDisplayName()) { diff --git a/modules/GEDFact_assistant/_CENS/census_4_text.php b/modules/GEDFact_assistant/_CENS/census_4_text.php index fb8e79da27..01182d4310 100644 --- a/modules/GEDFact_assistant/_CENS/census_4_text.php +++ b/modules/GEDFact_assistant/_CENS/census_4_text.php @@ -57,7 +57,7 @@ function help_window2(frm) { <br /><br /> <span class="descriptionbox width15 nowrap <?php $TEXT_DIRECTION; ?>"> <?php - echo i18n::translate('Shared Note'), help_link('SHARED_NOTE'); + echo i18n::translate('Shared note'), help_link('SHARED_NOTE'); ?> </span> <div class="optionbox"> diff --git a/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php b/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php index 5b7160b8fe..3f2913109f 100644 --- a/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php +++ b/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php @@ -55,7 +55,7 @@ if (empty($linktoid) || empty($linkto)) { } } if (WT_USER_IS_ADMIN) { - print_simple_header(i18n::translate('Link Media')." ".$toitems); + print_simple_header(i18n::translate('Link media')." ".$toitems); }else{ print_simple_header(i18n::translate('Admin')); echo i18n::translate('Unable to authenticate user.'); @@ -126,7 +126,7 @@ if ($action == "choose" && $paramok) { echo '<input type="hidden" name="ged" value="', $GEDCOM, '" />'; echo '<table class="facts_table center ', $TEXT_DIRECTION, '">'; echo '<tr><td class="topbottombar" colspan="2">'; - echo i18n::translate('Link Media'), ' ', $toitems, help_link('add_media_linkid'); + echo i18n::translate('Link media'), ' ', $toitems, help_link('add_media_linkid'); echo '</td></tr><tr><td class="descriptionbox width20 wrap">', i18n::translate('Media ID'), '</td>'; echo '<td class="optionbox wrap">'; if (!empty($mediaid)) { diff --git a/modules/GEDFact_assistant/_MEDIA/media_3_find.php b/modules/GEDFact_assistant/_MEDIA/media_3_find.php index 6067ca241f..0e7a5e5226 100644 --- a/modules/GEDFact_assistant/_MEDIA/media_3_find.php +++ b/modules/GEDFact_assistant/_MEDIA/media_3_find.php @@ -96,13 +96,13 @@ require WT_ROOT.'includes/specialchars.php'; switch ($type) { case "indi": - print_simple_header(i18n::translate('Find Individual ID')); + print_simple_header(i18n::translate('Find individual ID')); break; case "fam": print_simple_header(i18n::translate('Find Family List')); break; case "media": - print_simple_header(i18n::translate('Find Media')); + print_simple_header(i18n::translate('Find media')); $action="filter"; break; case "place": @@ -207,13 +207,13 @@ echo "<tr><td style=\"padding: 10px;\" valign=\"top\" class=\"facts_label03 widt switch ($type) { case "indi": - echo i18n::translate('Find Individual ID'); + echo i18n::translate('Find individual ID'); break; case "fam": echo i18n::translate('Find Family List'); break; case "media": - echo i18n::translate('Find Media'); + echo i18n::translate('Find media'); break; case "place": echo i18n::translate('Find Place'); diff --git a/modules/GEDFact_assistant/_MEDIA/media_3_search_add.php b/modules/GEDFact_assistant/_MEDIA/media_3_search_add.php index 48cb9c12b6..a7f07ce2f9 100644 --- a/modules/GEDFact_assistant/_MEDIA/media_3_search_add.php +++ b/modules/GEDFact_assistant/_MEDIA/media_3_search_add.php @@ -1103,16 +1103,16 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 // Husband ------------------------------ if ($husb || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($husb) { $person_parent="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$husb->getXref(); + $title = i18n::translate('Individual information').": ".$husb->getXref(); }else{ - $title = $husb->getXref()." :".i18n::translate('Individual Information'); + $title = $husb->getXref()." :".i18n::translate('Individual information'); } $tmp=$husb->getXref(); if ($husb->canDisplayName()) { @@ -1159,16 +1159,16 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 // Wife ------------------------------ if ($wife || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($wife) { $person_parent="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$wife->getXref(); + $title = i18n::translate('Individual information').": ".$wife->getXref(); }else{ - $title = $wife->getXref()." :".i18n::translate('Individual Information'); + $title = $wife->getXref()." :".i18n::translate('Individual information'); } $tmp=$wife->getXref(); if ($wife->canDisplayName()) { @@ -1243,16 +1243,16 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 // Husband ----------------------- if ( ($husb || $num>0) && $husb->getLabel() != "." ) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($husb) { $person_step="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$husb->getXref(); + $title = i18n::translate('Individual information').": ".$husb->getXref(); }else{ - $title = $husb->getXref()." :".i18n::translate('Individual Information'); + $title = $husb->getXref()." :".i18n::translate('Individual information'); } $tmp=$husb->getXref(); if ($husb->canDisplayName()) { @@ -1282,16 +1282,16 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 // Wife ---------------------------- if ($wife || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($wife) { $person_step="Yes"; if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$wife->getXref(); + $title = i18n::translate('Individual information').": ".$wife->getXref(); }else{ - $title = $wife->getXref()." :".i18n::translate('Individual Information'); + $title = $wife->getXref()." :".i18n::translate('Individual information'); } $tmp=$wife->getXref(); if ($wife->canDisplayName()) { @@ -1329,15 +1329,15 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 // Spouse ------------------------------ if ($spouse || $num>0) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Family Book Chart').": ".$famid; + $title = i18n::translate('Family book chart').": ".$famid; }else{ - $title = $famid." :".i18n::translate('Family Book Chart'); + $title = $famid." :".i18n::translate('Family book chart'); } if ($spouse) { if ($TEXT_DIRECTION=="ltr") { - $title = i18n::translate('Individual Information').": ".$spouse->getXref(); + $title = i18n::translate('Individual information').": ".$spouse->getXref(); }else{ - $title = $spouse->getXref()." :".i18n::translate('Individual Information'); + $title = $spouse->getXref()." :".i18n::translate('Individual information'); } $tmp=$spouse->getXref(); if ($spouse->canDisplayName()) { @@ -1407,7 +1407,7 @@ function print_pedigree_person_nav2($pid, $style=1, $show_famlink=true, $count=0 $cpid = $child->getXref(); if ($child) { $persons="Yes"; - $title = i18n::translate('Individual Information').": ".$cpid; + $title = i18n::translate('Individual information').": ".$cpid; if ($child->canDisplayName()) { $nam = $child->getAllNames(); $fulln = rtrim($nam[0]['givn'],'*')." ".$nam[0]['surname']; diff --git a/modules/GEDFact_assistant/_MEDIA/media_query_3a.php b/modules/GEDFact_assistant/_MEDIA/media_query_3a.php index cac7d144c2..6fc5e4bb5c 100644 --- a/modules/GEDFact_assistant/_MEDIA/media_query_3a.php +++ b/modules/GEDFact_assistant/_MEDIA/media_query_3a.php @@ -31,7 +31,7 @@ $iid2 = safe_GET('iid'); -print_simple_header(i18n::translate('Link Media')); +print_simple_header(i18n::translate('Link media')); $record=GedcomRecord::getInstance($iid2); $headjs=""; diff --git a/modules/address_report/report.xml b/modules/address_report/report.xml index ae6eee33ce..c36e0237dd 100644 --- a/modules/address_report/report.xml +++ b/modules/address_report/report.xml @@ -36,7 +36,7 @@ <PGVRText style="label"><PGVRvar var="i18n::translate('Address')" /></PGVRText> </PGVRTextBox> <PGVRTextBox border="1" height="12" newline="1"> - <PGVRText style="label"><PGVRvar var="i18n::translate('Phone')" /> / <PGVRvar var="i18n::translate('Email Address')" /></PGVRText> + <PGVRText style="label"><PGVRvar var="i18n::translate('Phone')" /> / <PGVRvar var="i18n::translate('Email address')" /></PGVRText> </PGVRTextBox> </PGVRHeader> diff --git a/modules/batch_update/plugins/search_replace.php b/modules/batch_update/plugins/search_replace.php index d536c4e112..a492c557ae 100644 --- a/modules/batch_update/plugins/search_replace.php +++ b/modules/batch_update/plugins/search_replace.php @@ -41,7 +41,7 @@ class search_replace_bu_plugin extends base_plugin { var $error =null; // Message for bad user parameters static function getName() { - return i18n::translate('Search and Replace'); + return i18n::translate('Search and replace'); } static function getDescription() { diff --git a/modules/change_report/report.xml b/modules/change_report/report.xml index 4d6c0aa7b6..2565932c5a 100644 --- a/modules/change_report/report.xml +++ b/modules/change_report/report.xml @@ -5,7 +5,7 @@ <PGVRDescription>Prints a list of individuals matching specific change criteria</PGVRDescription> <PGVRInput name="changeRangeStart" lookup="DATE" type="text" default="NOW-30"><PGVRvar var="i18n::translate('Starting range of change dates')" /></PGVRInput> <PGVRInput name="changeRangeEnd" lookup="DATE" type="text" default="NOW"><PGVRvar var="i18n::translate('Ending range of change dates')" /></PGVRInput> - <PGVRInput name="sortby" type="select" options="CHAN=>i18n::translate('Last Change')|NAME=>i18n::translate('Name')|BIRT:DATE=>i18n::translate('Date of birth')"><PGVRvar var="i18n::translate('Sort by')" /></PGVRInput> + <PGVRInput name="sortby" type="select" options="CHAN=>i18n::translate('Last change')|NAME=>i18n::translate('Name')|BIRT:DATE=>i18n::translate('Date of birth')"><PGVRvar var="i18n::translate('Sort by')" /></PGVRInput> <PGVRInput name="pending" type="select" options="yes=>i18n::translate('Yes')|no=>i18n::translate('No')"><PGVRvar var="i18n::translate('Show pending changes')" /></PGVRInput> <PGVRInput name="pageSize" type="select" default="A4" options="letter=>i18n::translate_c('paper size','Letter')|A3=>i18n::translate_c('paper size', 'A3')|A4=>i18n::translate_c('paper size','A4')|legal=>i18n::translate_c('paper size','Legal')"><PGVRvar var="i18n::translate('Page size')" /></PGVRInput> <PGVRInput name="pageorient" type="select" default="landscape" options="landscape=>i18n::translate('Landscape')|portrait=>i18n::translate('Portrait')"><PGVRvar var="i18n::translate('Orientation')" /></PGVRInput> @@ -67,7 +67,7 @@ <PGVRSetVar name="fill" value="" /> <PGVRif condition="$sortby=='CHAN'"><PGVRSetVar name="fill" value="#AAAAAA" /></PGVRif> <PGVRTextBox bgcolor="$fill" border="1" height="12" newline="1"> - <PGVRText style="label"><PGVRvar var="i18n::translate('Last Change')" /></PGVRText> + <PGVRText style="label"><PGVRvar var="i18n::translate('Last change')" /></PGVRText> </PGVRTextBox> <!-- Pending Changes Section Data --> @@ -116,7 +116,7 @@ <PGVRSetVar name="fill" value="" /> <PGVRif condition="$sortby=='CHAN'"><PGVRSetVar name="fill" value="#AAAAAA" /></PGVRif> <PGVRTextBox bgcolor="$fill" border="1" height="12" newline="1"> - <PGVRText style="label"><PGVRvar var="i18n::translate('Last Change')" /></PGVRText> + <PGVRText style="label"><PGVRvar var="i18n::translate('Last change')" /></PGVRText> </PGVRTextBox> <!-- Recent Changes Section Data --> diff --git a/modules/charts/module.php b/modules/charts/module.php index 8c369dea1b..3260cceb77 100644 --- a/modules/charts/module.php +++ b/modules/charts/module.php @@ -37,7 +37,7 @@ require_once WT_ROOT.'includes/classes/class_treenav.php'; class charts_WT_Module extends WT_Module implements WT_Module_Block { // Extend class WT_Module public function getTitle() { - return i18n::translate('Charts Block'); + return i18n::translate('Charts block'); } // Extend class WT_Module @@ -94,10 +94,10 @@ class charts_WT_Module extends WT_Module implements WT_Module_Block { $title .= $name." ".i18n::translate('Pedigree Tree'); break; case 'descendants': - $title .= $name." ".i18n::translate('Descendancy Chart'); + $title .= $name." ".i18n::translate('Descendancy chart'); break; case 'hourglass': - $title .= $name." ".i18n::translate('Hourglass Chart'); + $title .= $name." ".i18n::translate('Hourglass chart'); break; case 'treenav': $title .= $name." ".i18n::translate('Tree'); @@ -190,14 +190,14 @@ class charts_WT_Module extends WT_Module implements WT_Module_Block { if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; ?> - <tr><td class="descriptionbox wrap width33"><?php print i18n::translate('Chart Type'); ?></td> + <tr><td class="descriptionbox wrap width33"><?php print i18n::translate('Chart type'); ?></td> <td class="optionbox"> <select name="type"> <option value="pedigree"<?php if ($type=="pedigree") print " selected=\"selected\""; ?>><?php print i18n::translate('Pedigree Tree'); ?></option> - <option value="descendants"<?php if ($type=="descendants") print " selected=\"selected\""; ?>><?php print i18n::translate('Descendancy Chart'); ?></option> - <option value="hourglass"<?php if ($type=="hourglass") print " selected=\"selected\""; ?>><?php print i18n::translate('Hourglass Chart'); ?></option> + <option value="descendants"<?php if ($type=="descendants") print " selected=\"selected\""; ?>><?php print i18n::translate('Descendancy chart'); ?></option> + <option value="hourglass"<?php if ($type=="hourglass") print " selected=\"selected\""; ?>><?php print i18n::translate('Hourglass chart'); ?></option> <?php if (file_exists(WT_ROOT.'includes/classes/class_treenav.php')) { ?> - <option value="treenav"<?php if ($type=="treenav") print " selected=\"selected\""; ?>><?php print i18n::translate('Interactive Tree'); ?></option> + <option value="treenav"<?php if ($type=="treenav") print " selected=\"selected\""; ?>><?php print i18n::translate('Interactive tree'); ?></option> <?php } ?> </select> </td></tr> diff --git a/modules/clippings/help_text.php b/modules/clippings/help_text.php index de67e9b8a1..8209192c22 100644 --- a/modules/clippings/help_text.php +++ b/modules/clippings/help_text.php @@ -37,7 +37,7 @@ case 'add_by_id': break; case 'clip_cart': - $title=i18n::translate('Clippings Cart'); + $title=i18n::translate('Clippings cart'); $text=i18n::translate('This box shows the contents of your Clippings Cart. The <i>Types</i> column indicates the type of each entry, which can be Individual (INDI), Family (FAM), Source (SOUR), Repository (REPO), Note (NOTE), and Media (OBJE); each is represented by its own icon. The <i>ID</i> column shows the ID number for each item of that particular type. The <i>Name / Description</i> column gives either the name of the family or individual, or a description of the item. The Remove button will remove that record from the Clippings Cart. <b>Confirmation to remove is NOT asked for.</b>'); break; diff --git a/modules/clippings/index.php b/modules/clippings/index.php index 76ff019884..cf0aa0ccc8 100644 --- a/modules/clippings/index.php +++ b/modules/clippings/index.php @@ -39,7 +39,7 @@ $controller = new ClippingsController(); $controller->init();
// -- print html header information
-print_header(i18n::translate('Clippings Cart'));
+print_header(i18n::translate('Clippings cart'));
if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm';
diff --git a/modules/clippings/module.php b/modules/clippings/module.php index a3c9a725a3..daabba46d8 100644 --- a/modules/clippings/module.php +++ b/modules/clippings/module.php @@ -36,7 +36,7 @@ require_once WT_ROOT.'includes/classes/class_module.php'; class clippings_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module_Sidebar { // Extend class WT_Module public function getTitle() { - return i18n::translate('Clippings Cart'); + return i18n::translate('Clippings cart'); } // Extend class WT_Module diff --git a/modules/family_nav/module.php b/modules/family_nav/module.php index 0a0cef1e72..82f27ca1ef 100644 --- a/modules/family_nav/module.php +++ b/modules/family_nav/module.php @@ -639,16 +639,16 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Husband ------------------------------
if ($husb || $num>0) {
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Family Book Chart').": ".$famid;
+ $title = i18n::translate('Family book chart').": ".$famid;
}else{
- $title = $famid." :".i18n::translate('Family Book Chart');
+ $title = $famid." :".i18n::translate('Family book chart');
}
if ($husb) {
$person_parent="Yes";
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Individual Information').": ".$husb->getXref();
+ $title = i18n::translate('Individual information').": ".$husb->getXref();
}else{
- $title = $husb->getXref()." :".i18n::translate('Individual Information');
+ $title = $husb->getXref()." :".i18n::translate('Individual information');
}
$parentlinks .= "<a id=\"phusb\" href=\"".encode_url($husb->getLinkUrl())."\" onclick=\"return familyNavLoad('".encode_url($husb->getLinkUrl())."');\">";
$parentlinks .= " ".PrintReady($husb->getFullName());
@@ -661,16 +661,16 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Wife ------------------------------
if ($wife || $num>0) {
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Family Book Chart').": ".$famid;
+ $title = i18n::translate('Family book chart').": ".$famid;
}else{
- $title = $famid." :".i18n::translate('Family Book Chart');
+ $title = $famid." :".i18n::translate('Family book chart');
}
if ($wife) {
$person_parent="Yes";
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Individual Information').": ".$wife->getXref();
+ $title = i18n::translate('Individual information').": ".$wife->getXref();
}else{
- $title = $wife->getXref()." :".i18n::translate('Individual Information');
+ $title = $wife->getXref()." :".i18n::translate('Individual information');
}
$parentlinks .= "<a id=\"pwife\" href=\"".encode_url($wife->getLinkUrl())."\" onclick=\"return familyNavLoad('".encode_url($wife->getLinkUrl())."');\">";
$parentlinks .= " ".PrintReady($wife->getFullName());
@@ -697,16 +697,16 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Husband -----------------------
if ($husb || $num>0) {
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Family Book Chart').": ".$famid;
+ $title = i18n::translate('Family book chart').": ".$famid;
}else{
- $title = $famid." :".i18n::translate('Family Book Chart');
+ $title = $famid." :".i18n::translate('Family book chart');
}
if ($husb) {
$person_step="Yes";
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Individual Information').": ".$husb->getXref();
+ $title = i18n::translate('Individual information').": ".$husb->getXref();
}else{
- $title = $husb->getXref()." :".i18n::translate('Individual Information');
+ $title = $husb->getXref()." :".i18n::translate('Individual information');
}
$parentlinks .= "<a id=\"shusb\" href=\"".encode_url($husb->getLinkUrl())."\" onclick=\"return familyNavLoad('".encode_url($husb->getLinkUrl())."');\">";
$parentlinks .= " ".PrintReady($husb->getFullName());
@@ -721,16 +721,16 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Wife ----------------------------
if ($wife || $num>0) {
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Family Book Chart').": ".$famid;
+ $title = i18n::translate('Family book chart').": ".$famid;
}else{
- $title = $famid." :".i18n::translate('Family Book Chart');
+ $title = $famid." :".i18n::translate('Family book chart');
}
if ($wife) {
$person_step="Yes";
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Individual Information').": ".$wife->getXref();
+ $title = i18n::translate('Individual information').": ".$wife->getXref();
}else{
- $title = $wife->getXref()." :".i18n::translate('Individual Information');
+ $title = $wife->getXref()." :".i18n::translate('Individual information');
}
$parentlinks .= "<a id=\"swife\" href=\"".encode_url($wife->getLinkUrl())."\" onclick=\"return familyNavLoad('".encode_url($wife->getLinkUrl())."');\">";
$parentlinks .= " ".PrintReady($wife->getFullName());
@@ -753,15 +753,15 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, // Spouse ------------------------------
if ($spouse || $num>0) {
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Family Book Chart').": ".$famid;
+ $title = i18n::translate('Family book chart').": ".$famid;
}else{
- $title = $famid." :".i18n::translate('Family Book Chart');
+ $title = $famid." :".i18n::translate('Family book chart');
}
if ($spouse) {
if ($TEXT_DIRECTION=="ltr") {
- $title = i18n::translate('Individual Information').": ".$spouse->getXref();
+ $title = i18n::translate('Individual information').": ".$spouse->getXref();
}else{
- $title = $spouse->getXref()." :".i18n::translate('Individual Information');
+ $title = $spouse->getXref()." :".i18n::translate('Individual information');
}
$spouselinks .= "<a id=\"spouse\" href=\"".encode_url($spouse->getLinkUrl())."\" onclick=\"return familyNavLoad('".encode_url($spouse->getLinkUrl())."');\">";
$spouselinks .= " ".PrintReady($spouse->getFullName());
@@ -782,7 +782,7 @@ function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, $spouselinks .= "\n<ul class=\"clist ".$TEXT_DIRECTION."\">";
}
$persons="Yes";
- $title = i18n::translate('Individual Information').": ".$child->getXref();
+ $title = i18n::translate('Individual information').": ".$child->getXref();
$spouselinks .= "\n<li id=\"flyout3\">";
$spouselinks .= "<a href=\"".encode_url($child->getLinkUrl())."\" onclick=\"return familyNavLoad('".encode_url($child->getLinkUrl())."');\">";
$spouselinks .= PrintReady($child->getFullName());
diff --git a/modules/googlemap/pedigree_map.php b/modules/googlemap/pedigree_map.php index 3866a00ec0..ab910c8ce0 100644 --- a/modules/googlemap/pedigree_map.php +++ b/modules/googlemap/pedigree_map.php @@ -656,7 +656,7 @@ for ($i=0; $i<($controller->treesize); $i++) { // end of add image $dataleft = $image . $event . addslashes($name); - $datamid = " <span><a href='individual.php?pid=". $pid . "' id='alturl' title='" . i18n::translate('Individual Information') . "'>"; + $datamid = " <span><a href='individual.php?pid=". $pid . "' id='alturl' title='" . i18n::translate('Individual information') . "'>"; if ($TEXT_DIRECTION == "rtl") $datamid .= PrintReady("(".$pid.")"); else $datamid .= "(". $pid . ")"; $datamid .= "</a></span>"; diff --git a/modules/individual_ext_report/report.xml b/modules/individual_ext_report/report.xml index 5c9b68a116..19aed16687 100644 --- a/modules/individual_ext_report/report.xml +++ b/modules/individual_ext_report/report.xml @@ -202,7 +202,7 @@ <!-- print family with parents and siblings --> <PGVRTextBox height="$sheight" newline="1" padding="0" width="15"/> - <PGVRCell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><PGVRvar var="i18n::translate('Family with Parents')"/></PGVRCell> + <PGVRCell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><PGVRvar var="i18n::translate('Family with parents')"/></PGVRCell> <PGVRRepeatTag tag="FAMC"> <PGVRGedcom id="@FAMC"> <!-- father --> diff --git a/modules/individual_report/report.xml b/modules/individual_report/report.xml index eb99cf71b9..7f542e3e60 100644 --- a/modules/individual_report/report.xml +++ b/modules/individual_report/report.xml @@ -167,7 +167,7 @@ <!-- print family with parents and siblings --> <PGVRTextBox width="15" height="16" newline="1" padding="0"/> <PGVRTextBox border="1" width="$width" height="16" newline="1" bgcolor="$stbgcolor"> - <PGVRText style="label1"><PGVRvar var="i18n::translate('Family with Parents')" /></PGVRText> + <PGVRText style="label1"><PGVRvar var="i18n::translate('Family with parents')" /></PGVRText> </PGVRTextBox> <PGVRRepeatTag tag="FAMC"> <PGVRGedcom id="@FAMC"> diff --git a/modules/missing_facts_report/report.xml b/modules/missing_facts_report/report.xml index 42f47e35d8..0a0af997fd 100644 --- a/modules/missing_facts_report/report.xml +++ b/modules/missing_facts_report/report.xml @@ -11,12 +11,12 @@ <PGVRInput name="fsour" type="checkbox" default="0"><PGVRvar var="i18n::translate('Sources to the events')" /></PGVRInput> <PGVRInput name="fbirt" type="checkbox" default="1"><PGVRvar var="i18n::translate('Birth')"/></PGVRInput> <PGVRInput name="fbapm" type="checkbox" default="0"><PGVRvar var="i18n::translate('Baptism')"/> / <PGVRvar var="i18n::translate('Christening')"/></PGVRInput> - <PGVRInput name="fbarm" type="checkbox" default="0"><PGVRvar var="i18n::translate('Bar Mitzvah')"/></PGVRInput> - <PGVRInput name="fbasm" type="checkbox" default="0"><PGVRvar var="i18n::translate('Bas Mitzvah')"/></PGVRInput> + <PGVRInput name="fbarm" type="checkbox" default="0"><PGVRvar var="i18n::translate('Bar mitzvah')"/></PGVRInput> + <PGVRInput name="fbasm" type="checkbox" default="0"><PGVRvar var="i18n::translate('Bas mitzvah')"/></PGVRInput> <PGVRInput name="fconf" type="checkbox" default="0"><PGVRvar var="i18n::translate('Confirmation')"/></PGVRInput> <PGVRInput name="fenga" type="checkbox" default="0"><PGVRvar var="i18n::translate('Engagement')"/></PGVRInput> - <PGVRInput name="ffcom" type="checkbox" default="0"><PGVRvar var="i18n::translate('First Communion')"/></PGVRInput> - <PGVRInput name="fmarb" type="checkbox" default="0"><PGVRvar var="i18n::translate('Marriage Banns')"/></PGVRInput> + <PGVRInput name="ffcom" type="checkbox" default="0"><PGVRvar var="i18n::translate('First communion')"/></PGVRInput> + <PGVRInput name="fmarb" type="checkbox" default="0"><PGVRvar var="i18n::translate('Marriage banns')"/></PGVRInput> <PGVRInput name="fmarr" type="checkbox" default="0"><PGVRvar var="i18n::translate('Marriage')"/></PGVRInput> <PGVRInput name="fdeat" type="checkbox" default="1"><PGVRvar var="i18n::translate('Death')"/></PGVRInput> <PGVRInput name="fburi" type="checkbox" default="0"><PGVRvar var="i18n::translate('Burial')"/></PGVRInput> @@ -456,7 +456,7 @@ <PGVRCell style="list_value" width="$name"><PGVRGetPersonName id="" /> - (<PGVRGedcomValue tag="@id" />)</PGVRCell> <PGVRSetVar name="printname" value="1" /> </PGVRif> - <PGVRCell newline="1" style="list_value"><PGVRvar var="i18n::translate('Marriage Date')" /></PGVRCell> + <PGVRCell newline="1" style="list_value"><PGVRvar var="i18n::translate('Marriage date')" /></PGVRCell> </PGVRif> <PGVRif condition="@MARR:PLAC==''"> <PGVRSetVar name="nrmissingevent" value="$nrmissingevent + 1" /> @@ -467,7 +467,7 @@ <PGVRCell style="list_value" width="$name"><PGVRGetPersonName id="" /> - (<PGVRGedcomValue tag="@id" />)</PGVRCell> <PGVRSetVar name="printname" value="1" /> </PGVRif> - <PGVRCell newline="1" style="list_value"><PGVRvar var="i18n::translate('Marriage Place')" /></PGVRCell> + <PGVRCell newline="1" style="list_value"><PGVRvar var="i18n::translate('Marriage place')" /></PGVRCell> </PGVRif> <PGVRif condition="$fsour=='1'"> <PGVRSetVar name="nrevent" value="$nrevent + 1" /> diff --git a/modules/relatives/module.php b/modules/relatives/module.php index 5bf5387e33..c044b27683 100644 --- a/modules/relatives/module.php +++ b/modules/relatives/module.php @@ -349,7 +349,7 @@ class relatives_WT_Module extends WT_Module implements WT_Module_Tab { ?> <table class="facts_table"><tr><td style="width:20%; padding:4px"></td><td class="descriptionbox rela"> <input id="checkbox_elder" type="checkbox" onclick="toggleByClassName('DIV', 'elderdate');" <?php if ($SHOW_AGE_DIFF) echo "checked=\"checked\"";?>/> - <label for="checkbox_elder"><?php echo i18n::translate('Show Date Differences'), help_link('age_differences'); ?></label> + <label for="checkbox_elder"><?php echo i18n::translate('Show date differences'), help_link('age_differences'); ?></label> </td></tr></table> <?php } diff --git a/modules/sitemap/index.php b/modules/sitemap/index.php index 191901fe99..f21286dd92 100644 --- a/modules/sitemap/index.php +++ b/modules/sitemap/index.php @@ -216,8 +216,8 @@ if ($action=="generate") { echo "</h3>\n"; echo "<table class=\"facts_table\">\n"; echo "<tr><td class=\"topbottombar\">", i18n::translate('Selected items to store in Sitemap:'), "</td></tr>\n"; - if (isset($_POST["welcome_page"])) echo "<tr><td class=\"optionbox\">", i18n::translate('Home Page'), "</td></tr>\n"; - if (isset($_POST["indi_recs"])) echo "<tr><td class=\"optionbox\">", i18n::translate('Individual Information'), "</td></tr>\n"; + if (isset($_POST["welcome_page"])) echo "<tr><td class=\"optionbox\">", i18n::translate('Home page'), "</td></tr>\n"; + if (isset($_POST["indi_recs"])) echo "<tr><td class=\"optionbox\">", i18n::translate('Individual information'), "</td></tr>\n"; if (isset($_POST["indi_list"])) echo "<tr><td class=\"optionbox\">", i18n::translate('Individual List'), "</td></tr>\n"; if (isset($_POST["fam_recs"])) echo "<tr><td class=\"optionbox\">", i18n::translate('Family information'), "</td></tr>\n"; if (isset($_POST["fam_list"])) echo "<tr><td class=\"optionbox\">", i18n::translate('Family List'), "</td></tr>\n"; @@ -294,7 +294,7 @@ if ($action=="") { </tr> <tr> <td class="optionbox"> - <input type="checkbox" name="welcome_page" tabindex="<?php $i++; echo $i?>" checked><?php echo i18n::translate('Home Page');?> + <input type="checkbox" name="welcome_page" tabindex="<?php $i++; echo $i?>" checked><?php echo i18n::translate('Home page');?> </td> <td class="optionbox"> <select name="welcome_priority" tabindex="<?php $i++; echo $i?>"> @@ -322,7 +322,7 @@ if ($action=="") { </td> </tr> <tr> - <td class="optionbox"><input type="checkbox" name="indi_recs" tabindex="<?php $i++; echo $i?>" checked><?php echo i18n::translate('Individual Information');?></td> + <td class="optionbox"><input type="checkbox" name="indi_recs" tabindex="<?php $i++; echo $i?>" checked><?php echo i18n::translate('Individual information');?></td> <td class="optionbox"> <select name="indirec_priority" tabindex="<?php $i++; echo $i?>"> <option value="1">0.1</option> @@ -376,7 +376,7 @@ if ($action=="") { </td> </tr> <tr> - <td class="optionbox"><input type="checkbox" name="fam_recs" tabindex="<?php $i++; echo $i?>" checked><?php echo i18n::translate('Family Information');?></td> + <td class="optionbox"><input type="checkbox" name="fam_recs" tabindex="<?php $i++; echo $i?>" checked><?php echo i18n::translate('Family information');?></td> <td class="optionbox"> <select name="famrec_priority" tabindex="<?php $i++; echo $i?>"> <option value="1">0.1</option> diff --git a/modules/source_report/report.xml b/modules/source_report/report.xml index 28bfabbff6..3f57f6d6c7 100644 --- a/modules/source_report/report.xml +++ b/modules/source_report/report.xml @@ -183,13 +183,13 @@ <PGVRvar var="i18n::translate('@fact')"/> </PGVRif> <PGVRif condition="@MARR:TYPE=='Religious'"> - <PGVRvar var="i18n::translate('Religious Marriage')" /> + <PGVRvar var="i18n::translate('Religious marriage')" /> </PGVRif> <PGVRif condition="@MARR:TYPE=='Civil'"> - <PGVRvar var="i18n::translate('Civil Marriage')" /> + <PGVRvar var="i18n::translate('Civil marriage')" /> </PGVRif> <PGVRif condition="@MARR:TYPE=='Partners'"> - <PGVRvar var="i18n::translate('Registered Partnership')" /> + <PGVRvar var="i18n::translate('Registered partnership')" /> </PGVRif> </PGVRif> <PGVRif condition="@fact!='MARR'"> diff --git a/modules/todays_events/module.php b/modules/todays_events/module.php index 9fe5142092..e516e900d8 100644 --- a/modules/todays_events/module.php +++ b/modules/todays_events/module.php @@ -136,7 +136,7 @@ class todays_events_WT_Module extends WT_Module implements WT_Module_Block { $infoStyle=get_block_setting($block_id, 'infoStyle', 'table'); echo '<tr><td class="descriptionbox wrap width33">'; - echo i18n::translate('Presentation Style'), help_link('style'); + echo i18n::translate('Presentation style'), help_link('style'); echo '</td><td class="optionbox">'; echo select_edit_control('infoStyle', array('list'=>i18n::translate('List'), 'table'=>i18n::translate('Table')), null, $infoStyle, ''); echo '</td></tr>'; diff --git a/modules/top10_givnnames/module.php b/modules/top10_givnnames/module.php index ae1592badc..2dce06dbba 100644 --- a/modules/top10_givnnames/module.php +++ b/modules/top10_givnnames/module.php @@ -146,7 +146,7 @@ class top10_givnnames_WT_Module extends WT_Module implements WT_Module_Block { $infoStyle=get_block_setting($block_id, 'infoStyle', 'table'); echo '<tr><td class="descriptionbox wrap width33">'; - echo i18n::translate('Presentation Style'), help_link('style'); + echo i18n::translate('Presentation style'), help_link('style'); echo '</td><td class="optionbox">'; echo select_edit_control('infoStyle', array('list'=>i18n::translate('List'), 'table'=>i18n::translate('Table')), null, $infoStyle, ''); echo '</td></tr>'; diff --git a/modules/top10_surnames/module.php b/modules/top10_surnames/module.php index 96600d6655..96369c4eb7 100644 --- a/modules/top10_surnames/module.php +++ b/modules/top10_surnames/module.php @@ -161,7 +161,7 @@ class top10_surnames_WT_Module extends WT_Module implements WT_Module_Block { $infoStyle=get_block_setting($block_id, 'infoStyle', 'table'); echo '<tr><td class="descriptionbox wrap width33">'; - echo i18n::translate('Presentation Style'), help_link('style'); + echo i18n::translate('Presentation style'), help_link('style'); echo '</td><td class="optionbox">'; echo select_edit_control('infoStyle', array('table'=>i18n::translate('Table'), 'tagcloud'=>i18n::translate('Tag cloud')), null, $infoStyle, ''); echo '</td></tr>'; diff --git a/modules/upcoming_events/module.php b/modules/upcoming_events/module.php index e71a884dc6..485fc7802f 100644 --- a/modules/upcoming_events/module.php +++ b/modules/upcoming_events/module.php @@ -145,7 +145,7 @@ class upcoming_events_WT_Module extends WT_Module implements WT_Module_Block { $infoStyle=get_block_setting($block_id, 'infoStyle', 'table'); echo '<tr><td class="descriptionbox wrap width33">'; - echo i18n::translate('Presentation Style'), help_link('style'); + echo i18n::translate('Presentation style'), help_link('style'); echo '</td><td class="optionbox">'; echo select_edit_control('infoStyle', array('list'=>i18n::translate('List'), 'table'=>i18n::translate('Table')), null, $infoStyle, ''); echo '</td></tr>'; diff --git a/modules/user_welcome/module.php b/modules/user_welcome/module.php index e1f33f36ab..e0fd304238 100644 --- a/modules/user_welcome/module.php +++ b/modules/user_welcome/module.php @@ -53,7 +53,7 @@ class user_welcome_WT_Module extends WT_Module implements WT_Module_Block { $content = "<table class=\"blockcontent\" cellspacing=\"0\" cellpadding=\"0\" style=\" width: 100%; direction:ltr;\"><tr>"; $content .= "<td class=\"tab_active_bottom\" colspan=\"3\" ></td></tr><tr>"; if (get_user_setting(WT_USER_ID, 'editaccount')=='Y') { - $content .= "<td class=\"center details2\" style=\" width: 33%; clear: none; vertical-align: top; margin-top: 2px;\"><a href=\"edituser.php\"><img src=\"".$WT_IMAGE_DIR."/".$WT_IMAGES["mygedview"]["small"]."\" border=\"0\" alt=\"".i18n::translate('My Account')."\" title=\"".i18n::translate('My Account')."\" /><br />".i18n::translate('My Account')."</a></td>"; + $content .= "<td class=\"center details2\" style=\" width: 33%; clear: none; vertical-align: top; margin-top: 2px;\"><a href=\"edituser.php\"><img src=\"".$WT_IMAGE_DIR."/".$WT_IMAGES["mygedview"]["small"]."\" border=\"0\" alt=\"".i18n::translate('My account')."\" title=\"".i18n::translate('My account')."\" /><br />".i18n::translate('My account')."</a></td>"; } if (WT_USER_GEDCOM_ID) { $content .= "<td class=\"center details2\" style=\" width: 33%; clear: none; vertical-align: top; margin-top: 2px;\"><a href=\"".encode_url("pedigree.php?rootid=".WT_USER_GEDCOM_ID)."\"><img src=\"".$WT_IMAGE_DIR."/".$WT_IMAGES["pedigree"]["small"]."\" border=\"0\" alt=\"".i18n::translate('My Pedigree')."\" title=\"".i18n::translate('My Pedigree')."\" /><br />".i18n::translate('My Pedigree')."</a></td>"; diff --git a/modules/yahrzeit/module.php b/modules/yahrzeit/module.php index 58a9c9febb..c46c3924b9 100644 --- a/modules/yahrzeit/module.php +++ b/modules/yahrzeit/module.php @@ -261,7 +261,7 @@ class yahrzeit_WT_Module extends WT_Module implements WT_Module_Block { $infoStyle=get_block_setting($block_id, 'infoStyle', 'style2'); echo '<tr><td class="descriptionbox wrap width33">'; - echo i18n::translate('Presentation Style'), help_link('style'); + echo i18n::translate('Presentation style'), help_link('style'); echo '</td><td class="optionbox">'; echo select_edit_control('infoStyle', array('list'=>i18n::translate('List'), 'table'=>i18n::translate('Table')), null, $infoStyle, ''); echo '</td></tr>'; @@ -93,8 +93,8 @@ if ($nt==1) { echo '<tr><td align="left" class="descriptionbox ', $TEXT_DIRECTION, '">'; echo '<center>'; if (!empty($WT_IMAGES["notes"]["small"]) && $SHOW_FACT_ICONS) - echo '<img src="', $WT_IMAGE_DIR, "/", $WT_IMAGES["notes"]["small"], '" alt="', i18n::translate('Shared Note'), '" title="', i18n::translate('Shared Note'), '" align="middle" /> '; - echo i18n::translate('Shared Note'), "</center>"; + echo '<img src="', $WT_IMAGE_DIR, "/", $WT_IMAGES["notes"]["small"], '" alt="', i18n::translate('Shared note'), '" title="', i18n::translate('Shared note'), '" align="middle" /> '; + echo i18n::translate('Shared note'), "</center>"; echo '<br /><br />'; if (WT_USER_CAN_EDIT) { echo "<a href=\"javascript: edit_note()\"> "; diff --git a/placelist.php b/placelist.php index f6a480d7b9..d77eaa9107 100644 --- a/placelist.php +++ b/placelist.php @@ -54,11 +54,11 @@ $level = safe_GET('level'); if (empty($action)) $action = "find"; if (empty($display)) $display = "hierarchy"; -if ($display=="hierarchy") print_header(i18n::translate('Place Hierarchy')); +if ($display=="hierarchy") print_header(i18n::translate('Place hierarchy')); else print_header(i18n::translate('Place List')); echo "\n\t<div class=\"center\">"; -if ($display=="hierarchy") echo "<h2>", i18n::translate('Place Hierarchy'), "</h2>\n\t"; +if ($display=="hierarchy") echo "<h2>", i18n::translate('Place hierarchy'), "</h2>\n\t"; else echo "<h2>", i18n::translate('Place List'), "</h2>\n\t"; // Make sure the "parent" array has no holes @@ -312,7 +312,7 @@ if ($display=="hierarchy") { echo " ", i18n::translate('Place Hierarchy after'), ": "; echo PrintReady($num_place); } else { - echo i18n::translate('Place Hierarchy'); + echo i18n::translate('Place hierarchy'); } echo help_link('ppp_placelist'); echo "</td></tr><tr><td class=\"list_value\"><ul>"; diff --git a/search.php b/search.php index e86f152416..83a7527055 100644 --- a/search.php +++ b/search.php @@ -169,7 +169,7 @@ if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; <!-- // search terms --> <tr> <td class="list_label" style="padding: 5px;"> - <?php print i18n::translate('Enter Search terms'); ?> + <?php print i18n::translate('Enter search terms'); ?> </td> <td class="list_value" style="padding: 5px;"> <input tabindex="1" id="firstfocus" type="text" name="query" value="<?php if (isset($controller->myquery)) print $controller->myquery; ?>" size="40" /> @@ -219,7 +219,7 @@ if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; <!-- Choice to Exclude non-genealogical data --> <tr> <td class="list_label" style="padding: 5px;"> - <?php echo i18n::translate('Exclude Filter'), help_link('search_exclude_tags'); ?> + <?php echo i18n::translate('Exclude filter'), help_link('search_exclude_tags'); ?> </td> <td class="list_value" style="padding: 5px;"> <input type="radio" name="tagfilter" value="on" @@ -258,7 +258,7 @@ if ($controller->action == "replace") if (WT_USER_CAN_EDIT) { ?> <td colspan="3" class="facts_label03" style="text-align: center;"> - <?php echo i18n::translate('Search and Replace'), help_link('search_replace'); ?> + <?php echo i18n::translate('Search and replace'), help_link('search_replace'); ?> </td> </tr> <!-- // search terms --> @@ -570,9 +570,9 @@ if ($controller->action == "general" || $controller->action == "soundex") { if ($controller->action == "general") { print "<a href='?action=soundex'>".i18n::translate('Soundex Search')."</a>"; - print " | <a href='search_advanced.php'>".i18n::translate('Advanced Search')."</a>"; + print " | <a href='search_advanced.php'>".i18n::translate('Advanced search')."</a>"; if(WT_USER_CAN_EDIT) { - print " | <a href='?action=replace'>".i18n::translate('Search and Replace')."</a>"; + print " | <a href='?action=replace'>".i18n::translate('Search and replace')."</a>"; } if ($SHOW_MULTISITE_SEARCH >= WT_USER_ACCESS_LEVEL) { if (count($controller->Sites) > 0) { @@ -586,7 +586,7 @@ else if ($controller->action == "replace") { print "<a href='?action=general'>".i18n::translate('General Search')."</a> | "; print "<a href='?action=soundex'>".i18n::translate('Soundex Search')."</a>"; - print " | <a href='search_advanced.php'>".i18n::translate('Advanced Search')."</a>"; + print " | <a href='search_advanced.php'>".i18n::translate('Advanced search')."</a>"; if ($SHOW_MULTISITE_SEARCH >= WT_USER_ACCESS_LEVEL) { if (count($controller->Sites) > 0) { @@ -597,10 +597,10 @@ else if ($controller->action == "replace") else if ($controller->action == "soundex") { print "<a href='?action=general'>".i18n::translate('General Search')."</a>"; - print " | <a href='search_advanced.php'>".i18n::translate('Advanced Search')."</a>"; + print " | <a href='search_advanced.php'>".i18n::translate('Advanced search')."</a>"; if(WT_USER_CAN_EDIT) { - print " | <a href='?action=replace'>".i18n::translate('Search and Replace')."</a>"; + print " | <a href='?action=replace'>".i18n::translate('Search and replace')."</a>"; } if ($SHOW_MULTISITE_SEARCH >= WT_USER_ACCESS_LEVEL) { if (count($controller->Sites) > 0) { @@ -613,12 +613,12 @@ else { if(WT_USER_CAN_EDIT) { - print "<a href='?action=replace'>".i18n::translate('Search and Replace')."</a> | "; + print "<a href='?action=replace'>".i18n::translate('Search and replace')."</a> | "; } print "<a href='?action=general'>".i18n::translate('General Search')."</a> | "; print "<a href='?action=soundex'>".i18n::translate('Soundex Search')."</a>"; - print " | <a href='search_advanced.php'>".i18n::translate('Advanced Search')."</a></td></tr>"; + print " | <a href='search_advanced.php'>".i18n::translate('Advanced search')."</a></td></tr>"; } ?> diff --git a/search_advanced.php b/search_advanced.php index fa8196a968..d921618237 100644 --- a/search_advanced.php +++ b/search_advanced.php @@ -37,7 +37,7 @@ $controller=new AdvancedSearchController(); $controller->init(); // Print the top header -print_header(i18n::translate('Advanced Search')); +print_header(i18n::translate('Advanced search')); ?> <script language="JavaScript" type="text/javascript"> <!-- @@ -143,7 +143,7 @@ print_header(i18n::translate('Advanced Search')); <table id="field_table" class="list_table <?php print $TEXT_DIRECTION; ?>" width="35%" border="0"> <tr> <td colspan="4" class="facts_label03" style="text-align:center; "> - <?php echo i18n::translate('Advanced Search'), help_link('advanced_search'); ?> + <?php echo i18n::translate('Advanced search'), help_link('advanced_search'); ?> </td> </tr> <!-- // search terms --> diff --git a/search_engine.php b/search_engine.php index b01ed772a8..18e4f4381d 100644 --- a/search_engine.php +++ b/search_engine.php @@ -58,7 +58,7 @@ echo '</div><br />'; $all_gedcoms=get_all_gedcoms(); if ($ALLOW_CHANGE_GEDCOM && count($all_gedcoms)>1) { foreach ($all_gedcoms as $ged_id=>$gedcom) { - $title=i18n::translate('Home Page').' - '.PrintReady(get_gedcom_setting($ged_id, 'title')); + $title=i18n::translate('Home page').' - '.PrintReady(get_gedcom_setting($ged_id, 'title')); echo '<a href="', encode_url("index.php?ged={$gedcom}"), '"><b>', $title, '</b></a><br />'; } echo '<br />'; @@ -67,7 +67,7 @@ if ($ALLOW_CHANGE_GEDCOM && count($all_gedcoms)>1) { echo '<a href="', encode_url("indilist.php?ged={$gedcom}"), '"><b>', $title, '</b></a><br />'; } } else { - $title=i18n::translate('Home Page'); + $title=i18n::translate('Home page'); echo '<a href="', encode_url("index.php?ged={$GEDCOM}"), '"><b>', $title, '</b></a><br />'; $title=i18n::translate('Individuals'); echo '<a href="', encode_url("indilist.php?ged={$GEDCOM}"), '"><b>', $title, '</b></a><br />'; diff --git a/statisticsplot.php b/statisticsplot.php index af076291c2..5556ed9109 100644 --- a/statisticsplot.php +++ b/statisticsplot.php @@ -903,8 +903,8 @@ else { unset($savedInput); } -print_simple_header(i18n::translate('Statistics Plot')); -echo "<center><h2>", i18n::translate('Statistics Plot'), "</h2>"; +print_simple_header(i18n::translate('Statistics plot')); +echo "<center><h2>", i18n::translate('Statistics plot'), "</h2>"; echo "</center><br />"; $nrpers = $_SESSION[$GEDCOM."nrpers"]; diff --git a/timeline.php b/timeline.php index 65a2d4adb9..86c1cba597 100644 --- a/timeline.php +++ b/timeline.php @@ -292,10 +292,10 @@ $controller->checkPrivacy(); <?php if (!$controller->isPrintPreview()) { ?> <a href="timeline.php?<?php echo $controller->pidlinks; ?>&scale=<?php echo $controller->scale; ?>&remove=<?php echo $pid;?>" > - <span class="details1"><?php echo i18n::translate('Remove Person'), help_link('remove_person'); ?></span></a> + <span class="details1"><?php echo i18n::translate('Remove person'), help_link('remove_person'); ?></span></a> <?php if (!empty($controller->birthyears[$pid])) { ?> <span class="details1"><br /> - <?php echo i18n::translate('Show Age Marker'), help_link('show_age_marker'); ?> + <?php echo i18n::translate('Show age marker'), help_link('show_age_marker'); ?> <input type="checkbox" name="agebar<?php echo $p; ?>" value="ON" onclick="showhide('agebox<?php echo $p; ?>', this);" /> </span> <?php } @@ -310,7 +310,7 @@ $controller->checkPrivacy(); echo "<br />"; ?> <a href="timeline.php?<?php echo $controller->pidlinks; ?>&scale=<?php echo $controller->scale; ?>&remove=<?php echo $pid;?>" > - <span class="details1"><?php echo i18n::translate('Remove Person'), help_link('remove_person'); ?></span></a> + <span class="details1"><?php echo i18n::translate('Remove person'), help_link('remove_person'); ?></span></a> <?php } ?> <br /> <?php } ?> diff --git a/treenav.php b/treenav.php index ea03696d7c..8b14020fda 100644 --- a/treenav.php +++ b/treenav.php @@ -44,7 +44,7 @@ if (!empty($_REQUEST['jsname'])) $name = $_REQUEST['jsname']; $nav = new TreeNav($rootid, $name, $zoom); $nav->generations=6; $nav->zoomLevel-=1; -print_header(i18n::translate('Interactive Tree')); +print_header(i18n::translate('Interactive tree')); $nav->drawViewport('', "", "600px"); print_footer(); ?> diff --git a/useradmin.php b/useradmin.php index a8e759f193..c563318a77 100644 --- a/useradmin.php +++ b/useradmin.php @@ -274,7 +274,7 @@ if ($action=="edituser") { <td class="optionbox wrap"><input type="password" name="pass1" tabindex="<?php echo ++$tab; ?>" /><br /><?php echo i18n::translate('Leave password blank if you want to keep the current password.'); ?></td> </tr> <tr> - <td class="descriptionbox wrap"><?php echo i18n::translate('Confirm Password'), help_link('useradmin_conf_password'); ?></td> + <td class="descriptionbox wrap"><?php echo i18n::translate('Confirm password'), help_link('useradmin_conf_password'); ?></td> <td class="optionbox wrap"><input type="password" name="pass2" tabindex="<?php echo ++$tab; ?>" /></td> </tr> <tr> @@ -300,7 +300,7 @@ if ($action=="edituser") { } ?> </table></td></tr><tr> - <td class="descriptionbox wrap"><?php echo i18n::translate('Pedigree Chart Root Person'), help_link('useradmin_rootid'); ?></td> + <td class="descriptionbox wrap"><?php echo i18n::translate('Pedigree chart root person'), help_link('useradmin_rootid'); ?></td> <td class="optionbox wrap"> <table class="<?php echo $TEXT_DIRECTION; ?>"> <?php @@ -370,7 +370,7 @@ if ($action=="edituser") { <td class="optionbox wrap"><input type="checkbox" name="new_relationship_privacy" tabindex="<?php echo ++$tab; ?>" value="Y" <?php if (get_user_setting($user_id, 'relationship_privacy')=="Y") echo "checked=\"checked\""; ?> /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Max relationship privacy path length'), help_link('useradmin_path_length'); ?></td> <td class="optionbox wrap"><input type="text" name="new_max_relation_path" tabindex="<?php echo ++$tab; ?>" value="<?php echo get_user_setting($user_id, 'max_relation_path'); ?>" size="5" /></td></tr> - <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Email Address'), help_link('useradmin_email'); ?></td><td class="optionbox wrap"><input type="text" name="emailaddress" tabindex="<?php echo ++$tab; ?>" dir="ltr" value="<?php echo getUserEmail($user_id); ?>" size="50" /></td></tr> + <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Email address'), help_link('useradmin_email'); ?></td><td class="optionbox wrap"><input type="text" name="emailaddress" tabindex="<?php echo ++$tab; ?>" dir="ltr" value="<?php echo getUserEmail($user_id); ?>" size="50" /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('User verified himself'), help_link('useradmin_verified'); ?></td><td class="optionbox wrap"><input type="checkbox" name="verified" tabindex="<?php echo ++$tab; ?>" value="yes" <?php if (get_user_setting($user_id, 'verified')=="yes") echo "checked=\"checked\""; ?> /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('User approved by admin'), help_link('useradmin_verbyadmin'); ?></td><td class="optionbox wrap"><input type="checkbox" name="verified_by_admin" tabindex="<?php echo ++$tab; ?>" value="yes" <?php if (get_user_setting($user_id, 'verified_by_admin')=="yes") echo "checked=\"checked\""; ?> /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Change language'), help_link('edituser_change_lang'); ?></td><td class="optionbox wrap" valign="top"> @@ -398,7 +398,7 @@ if ($action=="edituser") { } ?> <tr> - <td class="descriptionbox wrap"><?php echo i18n::translate('Preferred Contact Method'), help_link('useradmin_user_contact'); ?></td> + <td class="descriptionbox wrap"><?php echo i18n::translate('Preferred contact method'), help_link('useradmin_user_contact'); ?></td> <td class="optionbox wrap"> <?php echo edit_field_contact('new_contact_method', get_user_setting(WT_USER_ID, 'contactmethod'), 'tabindex="'.(++$tab).'"'); @@ -705,7 +705,7 @@ if ($action == "createform") { <tr><td class="descriptionbox wrap width20"><?php echo i18n::translate('User name'), help_link('useradmin_username'); ?></td><td class="optionbox wrap"><input type="text" name="username" tabindex="<?php echo ++$tab; ?>" /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Real name'), help_link('useradmin_realname'); ?></td><td class="optionbox wrap"><input type="text" name="realname" tabindex="<?php echo ++$tab; ?>" size="50" /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Password'), help_link('useradmin_password'); ?></td><td class="optionbox wrap"><input type="password" name="pass1" tabindex="<?php echo ++$tab; ?>" /></td></tr> - <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Confirm Password'), help_link('useradmin_conf_password'); ?></td><td class="optionbox wrap"><input type="password" name="pass2" tabindex="<?php echo ++$tab; ?>" /></td></tr> + <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Confirm password'), help_link('useradmin_conf_password'); ?></td><td class="optionbox wrap"><input type="password" name="pass2" tabindex="<?php echo ++$tab; ?>" /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('GEDCOM INDI record ID'), help_link('useradmin_gedcomid'); ?></td><td class="optionbox wrap"> <table class="<?php echo $TEXT_DIRECTION; ?>"> @@ -723,7 +723,7 @@ if ($action == "createform") { ?> </table> </td></tr> - <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Pedigree Chart Root Person'), help_link('useradmin_rootid'); ?></td><td class="optionbox wrap"> + <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Pedigree chart root person'), help_link('useradmin_rootid'); ?></td><td class="optionbox wrap"> <table class="<?php echo $TEXT_DIRECTION; ?>"> <?php foreach ($all_gedcoms as $ged_id=>$ged_name) { @@ -769,10 +769,10 @@ if ($action == "createform") { <td class="optionbox wrap"><input type="checkbox" name="new_relationship_privacy" tabindex="<?php echo ++$tab; ?>" value="Y" /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Max relationship privacy path length'), help_link('useradmin_path_length'); ?></td> <td class="optionbox wrap"><input type="text" name="new_max_relation_path" tabindex="<?php echo ++$tab; ?>" value="0" size="5" /></td></tr> - <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Email Address'), help_link('useradmin_email'); ?></td><td class="optionbox wrap"><input type="text" name="emailaddress" tabindex="<?php echo ++$tab; ?>" value="" size="50" /></td></tr> + <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Email address'), help_link('useradmin_email'); ?></td><td class="optionbox wrap"><input type="text" name="emailaddress" tabindex="<?php echo ++$tab; ?>" value="" size="50" /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('User verified himself'), help_link('useradmin_verified'); ?></td><td class="optionbox wrap"><input type="checkbox" name="verified" tabindex="<?php echo ++$tab; ?>" value="yes" checked="checked" /></td></tr> <tr><td class="descriptionbox wrap"><?php echo i18n::translate('User approved by admin'), help_link('useradmin_verbyadmin'); ?></td><td class="optionbox wrap"><input type="checkbox" name="verified_by_admin" tabindex="<?php echo ++$tab; ?>" value="yes" checked="checked" /></td></tr> - <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Change Language'), help_link('useradmin_change_lang'); ?></td><td class="optionbox wrap" valign="top"><?php + <tr><td class="descriptionbox wrap"><?php echo i18n::translate('Change language'), help_link('useradmin_change_lang'); ?></td><td class="optionbox wrap" valign="top"><?php $tab++; echo edit_field_language('user_language', get_user_setting(WT_USER_ID, 'language'), 'tabindex="'.$tab.'"'); @@ -791,7 +791,7 @@ if ($action == "createform") { </td></tr> <?php } ?> <tr> - <td class="descriptionbox wrap"><?php echo i18n::translate('Preferred Contact Method'), help_link('useradmin_user_contact'); ?></td> + <td class="descriptionbox wrap"><?php echo i18n::translate('Preferred contact method'), help_link('useradmin_user_contact'); ?></td> <td class="optionbox wrap"> <?php echo edit_field_contact('new_contact_method', $WT_STORE_MESSAGES ? 'messaging2' : 'messaging3', 'tabindex="'.(++$tab).'"'); |
