bug 672320 pt 17.1 - hyphenation patterns for Turkish. r=smontagu
authorJonathan Kew <jfkthame@gmail.com>
Thu, 25 Aug 2011 16:09:45 +0100
changeset 75899 53e0de790071b2a22bdedb93d89ea55ac7e24a39
parent 75898 b39232627a54f9c6ec1d14a52c7c5a77de636cf0
child 75900 079f4e4a1f4b696bb0c405d5ace4706a5ccf13ac
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
bug 672320 pt 17.1 - hyphenation patterns for Turkish. r=smontagu
new file mode 100644
--- /dev/null
+++ b/intl/locales/tr/hyphenation/LICENSE
@@ -0,0 +1,91 @@
+License information for hyph_tr.dic:
+This file is based on the TeX hyphenation patterns distributed under the
+LaTeX Project Public License (LPPL) as part of the hyph-utf8 package.
+Version: MPL 1.1/GPL 2.0/LGPL 2.1
+The contents of this file are subject to the Mozilla Public License Version 
+1.1 (the "License"); you may not use this file except in compliance with 
+the License. You may obtain a copy of the License at 
+Software distributed under the License is distributed on an "AS IS" basis,
+WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+for the specific language governing rights and limitations under the
+The Original Code is Mozilla hyphenation service.
+The Initial Developer of the Original Code is
+Mozilla Foundation.
+Portions created by the Initial Developer are Copyright (C) 2011
+the Initial Developer. All Rights Reserved.
+  Jonathan Kew <jfkthame@gmail.com>
+Alternatively, the contents of this file may be used under the terms of
+either the GNU General Public License Version 2 or later (the "GPL"), or
+the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+in which case the provisions of the GPL or the LGPL are applicable instead
+of those above. If you wish to allow use of your version of this file only
+under the terms of either the GPL or the LGPL, and not to allow others to
+use your version of this file under the terms of the MPL, indicate your
+decision by deleting the provisions above and replace them with the notice
+and other provisions required by the GPL or the LGPL. If you do not delete
+the provisions above, a recipient may use your version of this file under
+the terms of any one of the MPL, the GPL or the LGPL.
+***** END LICENSE BLOCK *****
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+At the time this file was first modified, a complete, unmodified copy of
+the LPPL Work was available from:
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+Portions of this file were originally made available under the following license
+(copied verbatim from hyph-tr.lic.txt in the original work):
+Turkish hyphenation patterns
+(more info about the licence to be added later)
+% hyph-tr.tex
+% Turkish hyphenation patterns
+% This file is auto-generated from source/generic/hyph-utf8/languages/tr/generate_patterns_tr.rb that is part of hyph-utf8.
+% Please don't modify this file; modify the generating script instead.
+% Copyright (C) 1987 Pierre A. MacKay
+%               2008, 2011 TUG
+% This program can redistributed and/or modified under the terms
+% of the LaTeX Project Public License Distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+% Credits:
+% - algorithm developed by P. A. MacKay for the Ottoman Texts Project in 1987
+% - rules adapted for modern Turkish by H. Turgut Uyar <uyar at itu.edu.tr>
+% - initiative to improve Turkish patterns by S. Ekin Kocabas <kocabas at stanford.edu>
+% - script written by Mojca Miklavec <mojca.miklavec.lists at gmail.com> in June 2008
+% See also:
+% - http://www.ctan.org/tex-archive/language/turkish/hyphen/turk_hyf.c
+% - http://www.tug.org/TUGboat/Articles/tb09-1/tb20mackay.pdf
+% Differences with Ottoman patterns:
+% - adapted for the use on modern TeX engines, using UTF-8 charactes
+% - only letters for Modern Turkish + âîû (the first one often needed, the other two don't hurt)
+% - (if needed, support for Ottoman Turkish might be provided separately under language code 'ota')
+% Changes:
+% - 2008-06-25/27/28 - create this file by adapting Ottoman rules for modern Turkish
+% - 2011-08-10 - add LPPL licence with permission of Pierre A. MacKay
new file mode 100644
--- /dev/null
+++ b/intl/locales/tr/hyphenation/hyph_tr.dic
@@ -0,0 +1,607 @@
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -1132,16 +1132,17 @@ pref("intl.hyphenation-alias.kmr-*", "km
 pref("intl.hyphenation-alias.la-*", "la");
 pref("intl.hyphenation-alias.lt-*", "lt");
 pref("intl.hyphenation-alias.mn-*", "mn");
 pref("intl.hyphenation-alias.nl-*", "nl");
 pref("intl.hyphenation-alias.pt-*", "pt");
 pref("intl.hyphenation-alias.ru-*", "ru");
 pref("intl.hyphenation-alias.sl-*", "sl");
 pref("intl.hyphenation-alias.sv-*", "sv");
+pref("intl.hyphenation-alias.tr-*", "tr");
 pref("intl.hyphenation-alias.uk-*", "uk");
 // use reformed (1996) German patterns by default unless specifically tagged as de-1901
 // (these prefs may soon be obsoleted by better BCP47-based tag matching, but for now...)
 pref("intl.hyphenation-alias.de", "de-1996");
 pref("intl.hyphenation-alias.de-*", "de-1996");
 pref("intl.hyphenation-alias.de-DE-1901", "de-1901");
 pref("intl.hyphenation-alias.de-CH-*", "de-CH");