diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-06-10 14:12:05 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-06-10 14:12:05 +0000 |
| commit | ed06517195eedf75760b12706b145dbfca71d69b (patch) | |
| tree | a60b4cafa42aae9211555e7b99bffaf8b1ca97cf /family.php | |
| parent | 3ebecad78cf0ee7f3109d9b36da648d17b9fe85c (diff) | |
| download | webtrees-ed06517195eedf75760b12706b145dbfca71d69b.tar.gz webtrees-ed06517195eedf75760b12706b145dbfca71d69b.tar.bz2 webtrees-ed06517195eedf75760b12706b145dbfca71d69b.zip | |
I18N: feedback from translators. It is better to have separate translations for individual/family/source/etc., than to use a generic word such as "record".
Diffstat (limited to 'family.php')
| -rw-r--r-- | family.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/family.php b/family.php index dd66e498ec..bad26d2fcf 100644 --- a/family.php +++ b/family.php @@ -35,15 +35,15 @@ if ($controller->family && $controller->family->canDisplayName()) { print_header($controller->getPageTitle()); if ($controller->family->isMarkedDeleted()) { if (WT_USER_CAN_ACCEPT) { - echo '<p class="ui-state-highlight">', WT_I18N::translate('This record has been deleted. You should review the deletion and then <a href="%1$s">accept</a> or <a href="%2$s">reject</a> it.', $controller->family->getHtmlUrl().'&action=accept', $controller->family->getHtmlUrl().'&action=undo'), '</p>'; + echo '<p class="ui-state-highlight">', WT_I18N::translate('This family has been deleted.'), WT_I18N::translate('You should review the deletion and then <a href="%1$s">accept</a> or <a href="%2$s">reject</a> it.', $controller->family->getHtmlUrl().'&action=accept', $controller->family->getHtmlUrl().'&action=undo'), '</p>'; } elseif (WT_USER_CAN_EDIT) { - echo '<p class="ui-state-highlight">', WT_I18N::translate('This record has been deleted. The deletion will need to be reviewed by a moderator.'), '</p>'; + echo '<p class="ui-state-highlight">', WT_I18N::translate('This family has been deleted.'), WT_I18N::translate('The deletion will need to be reviewed by a moderator.'), '</p>'; } } elseif (find_updated_record($controller->family->getXref(), WT_GED_ID)!==null) { if (WT_USER_CAN_ACCEPT) { - echo '<p class="ui-state-highlight">', WT_I18N::translate('This record has been edited. You should review the changes and then <a href="%1$s">accept</a> or <a href="%2$s">reject</a> them.', $controller->family->getHtmlUrl().'&action=accept', $controller->family->getHtmlUrl().'&action=undo'), '</p>'; + echo '<p class="ui-state-highlight">', WT_I18N::translate('This family has been edited.'), WT_I18N::translate('You should review the changes and then <a href="%1$s">accept</a> or <a href="%2$s">reject</a> them.', $controller->family->getHtmlUrl().'&action=accept', $controller->family->getHtmlUrl().'&action=undo'), '</p>'; } elseif (WT_USER_CAN_EDIT) { - echo '<p class="ui-state-highlight">', WT_I18N::translate('This record has been edited. The changes need to be reviewed by a moderator.'), '</p>'; + echo '<p class="ui-state-highlight">', WT_I18N::translate('This family has been edited.'), WT_I18N::translate('The changes need to be reviewed by a moderator.'), '</p>'; } } elseif ($controller->accept_success) { echo '<p class="ui-state-highlight">', WT_I18N::translate('The changes have been accepted.'), '</p>'; @@ -52,7 +52,7 @@ if ($controller->family && $controller->family->canDisplayName()) { } } else { print_header(WT_I18N::translate('Family')); - echo '<p class="ui-state-error">', WT_I18N::translate('This record does not exist or you do not have permission to view it.'), '</p>'; + echo '<p class="ui-state-error">', WT_I18N::translate('This family does not exist or you do not have permission to view it.'), '</p>'; print_footer(); exit; } |
