diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/Gedcom/Code/Temp.php | 4 | ||||
| -rw-r--r-- | library/WT/I18N.php | 14 | ||||
| -rw-r--r-- | library/WT/Stats.php | 4 | ||||
| -rw-r--r-- | library/tecnick.com/tcpdf/tcpdf.php | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/library/WT/Gedcom/Code/Temp.php b/library/WT/Gedcom/Code/Temp.php index 0a24d9b3e6..d463ce54aa 100644 --- a/library/WT/Gedcom/Code/Temp.php +++ b/library/WT/Gedcom/Code/Temp.php @@ -127,7 +127,7 @@ class WT_Gedcom_Code_Temp { case 'MONTE': return WT_I18N::translate('Monterrey, Mexico'); case 'MONTI': return WT_I18N::translate('Monticello, Utah'); case 'MONTR': return WT_I18N::translate('Montreal, Quebec, Canada'); - case 'MTIMP': return WT_I18N::translate('Mt. Timpanogos, Utah'); + case 'MTIMP': return WT_I18N::translate('Mount Timpanogos, Utah'); case 'NASHV': return WT_I18N::translate('Nashville, Tennessee'); case 'NAUV2': return WT_I18N::translate('Nauvoo, Illinois (new)'); case 'NAUVO': return WT_I18N::translate('Nauvoo, Illinois (original)'); @@ -158,7 +158,7 @@ class WT_Gedcom_Code_Temp { case 'SANTI': return WT_I18N::translate('Santiago, Chile'); case 'SANTO': return WT_I18N::translate('San Antonio, Texas'); case 'SDIEG': return WT_I18N::translate('San Diego, California'); - case 'SDOMI': return WT_I18N::translate('Santo Domingo, Dom. Rep.'); + case 'SDOMI': return WT_I18N::translate('Santo Domingo, Dominican Republic'); case 'SEATT': return WT_I18N::translate('Seattle, Washington'); case 'SEOUL': return WT_I18N::translate('Seoul, Korea'); case 'SGEOR': return WT_I18N::translate('St. George, Utah'); diff --git a/library/WT/I18N.php b/library/WT/I18N.php index 88058c3ae5..d8c3832b53 100644 --- a/library/WT/I18N.php +++ b/library/WT/I18N.php @@ -442,13 +442,13 @@ class WT_I18N { public static function gedcom_age($string) { switch ($string) { case 'STILLBORN': - // I18N: Description of an individual’s age at an event. e.g. Died 14 Jan 1900 (stillborn) + // I18N: Description of an individual’s age at an event. For example, Died 14 Jan 1900 (stillborn) return self::translate('(stillborn)'); case 'INFANT': - // I18N: Description of an individual’s age at an event. e.g. Died 14 Jan 1900 (in infancy) + // I18N: Description of an individual’s age at an event. For example, Died 14 Jan 1900 (in infancy) return self::translate('(in infancy)'); case 'CHILD': - // I18N: Description of an individual’s age at an event. e.g. Died 14 Jan 1900 (in childhood) + // I18N: Description of an individual’s age at an event. For example, Died 14 Jan 1900 (in childhood) return self::translate('(in childhood)'); } $age=array(); @@ -477,13 +477,13 @@ class WT_I18N { } if ($age) { if (!substr_compare($string, '<', 0, 1)) { - // I18N: Description of an individual’s age at an event. e.g. Died 14 Jan 1900 (aged less than 21 years) + // I18N: Description of an individual’s age at an event. For example, Died 14 Jan 1900 (aged less than 21 years) return self::translate('(aged less than %s)', $age); } elseif (!substr_compare($string, '>', 0, 1)) { - // I18N: Description of an individual’s age at an event. e.g. Died 14 Jan 1900 (aged more than 21 years) + // I18N: Description of an individual’s age at an event. For example, Died 14 Jan 1900 (aged more than 21 years) return self::translate('(aged more than %s)', $age); } else { - // I18N: Description of an individual’s age at an event. e.g. Died 14 Jan 1900 (aged 43 years) + // I18N: Description of an individual’s age at an event. For example, Died 14 Jan 1900 (aged 43 years) return self::translate('(aged %s)', $age); } } else { @@ -493,7 +493,7 @@ class WT_I18N { } /** - * Convert a number of seconds into a relative time. e.g. 630 => "10 hours, 30 minutes ago" + * Convert a number of seconds into a relative time. For example, 630 => "10 hours, 30 minutes ago" * * @param int $seconds * diff --git a/library/WT/Stats.php b/library/WT/Stats.php index fa1693ddbd..6411c8f309 100644 --- a/library/WT/Stats.php +++ b/library/WT/Stats.php @@ -4318,9 +4318,9 @@ class WT_Stats { } if (WT_USER_ID != $user->getUserId() && $user->getPreference('contactmethod') != 'none') { if ($type == 'list') { - $content .= '<br><a class="icon-email" href="#" onclick="return message(\'' . $user->getUserId() . '\', \'\', \'' . WT_Filter::escapeJs(get_query_url()) . '\');" title="' . WT_I18N::translate('Send message') . '"></a>'; + $content .= '<br><a class="icon-email" href="#" onclick="return message(\'' . $user->getUserId() . '\', \'\', \'' . WT_Filter::escapeJs(get_query_url()) . '\');" title="' . WT_I18N::translate('Send a message') . '"></a>'; } else { - $content .= ' <a class="icon-email" href="#" onclick="return message(\'' . $user->getUserId() . '\', \'\', \'' . WT_Filter::escapeJs(get_query_url()) . '\');" title="' . WT_I18N::translate('Send message') . '"></a>'; + $content .= ' <a class="icon-email" href="#" onclick="return message(\'' . $user->getUserId() . '\', \'\', \'' . WT_Filter::escapeJs(get_query_url()) . '\');" title="' . WT_I18N::translate('Send a message') . '"></a>'; } } if ($type == 'list') { diff --git a/library/tecnick.com/tcpdf/tcpdf.php b/library/tecnick.com/tcpdf/tcpdf.php index ca91d372eb..c55c94f947 100644 --- a/library/tecnick.com/tcpdf/tcpdf.php +++ b/library/tecnick.com/tcpdf/tcpdf.php @@ -4199,7 +4199,7 @@ class TCPDF { * The definition file (and the font file itself when embedding) must be present either in the current directory or in the one indicated by K_PATH_FONTS if the constant is defined. If it could not be found, the error "Could not include font definition file" is generated. * @param $family (string) Font family. The name can be chosen arbitrarily. If it is a standard family name, it will override the corresponding font. * @param $style (string) Font style. Possible values are (case insensitive):<ul><li>empty string: regular (default)</li><li>B: bold</li><li>I: italic</li><li>BI or IB: bold italic</li></ul> - * @param $fontfile (string) The font definition file. By default, the name is built from the family and style, in lower case with no spaces. + * @param $fontfile (string) The font definition file. By default, the name is built from the family and style, in lower case with no spaces. * @return array containing the font data, or false in case of error. * @param $subset (mixed) if true embedd only a subset of the font (stores only the information related to the used characters); if false embedd full font; if 'default' uses the default value set using setFontSubsetting(). This option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font. * @public @@ -4454,7 +4454,7 @@ class TCPDF { * @param $family (string) Family font. It can be either a name defined by AddFont() or one of the standard Type1 families (case insensitive):<ul><li>times (Times-Roman)</li><li>timesb (Times-Bold)</li><li>timesi (Times-Italic)</li><li>timesbi (Times-BoldItalic)</li><li>helvetica (Helvetica)</li><li>helveticab (Helvetica-Bold)</li><li>helveticai (Helvetica-Oblique)</li><li>helveticabi (Helvetica-BoldOblique)</li><li>courier (Courier)</li><li>courierb (Courier-Bold)</li><li>courieri (Courier-Oblique)</li><li>courierbi (Courier-BoldOblique)</li><li>symbol (Symbol)</li><li>zapfdingbats (ZapfDingbats)</li></ul> It is also possible to pass an empty string. In that case, the current family is retained. * @param $style (string) Font style. Possible values are (case insensitive):<ul><li>empty string: regular</li><li>B: bold</li><li>I: italic</li><li>U: underline</li><li>D: line through</li><li>O: overline</li></ul> or any combination. The default value is regular. Bold and italic styles do not apply to Symbol and ZapfDingbats basic fonts or other fonts when not defined. * @param $size (float) Font size in points. The default value is the current size. If no size has been specified since the beginning of the document, the value taken is 12 - * @param $fontfile (string) The font definition file. By default, the name is built from the family and style, in lower case with no spaces. + * @param $fontfile (string) The font definition file. By default, the name is built from the family and style, in lower case with no spaces. * @param $subset (mixed) if true embedd only a subset of the font (stores only the information related to the used characters); if false embedd full font; if 'default' uses the default value set using setFontSubsetting(). This option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font. * @param $out (boolean) if true output the font size command, otherwise only set the font properties. * @author Nicola Asuni |
