forked from chaosarium/lwt
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #113: changing a language name do no longer break text-to-speec…
…h (not always).
- Loading branch information
Showing
6 changed files
with
75 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* | ||
* @package Lwt | ||
* @author LWT Project <[email protected]> | ||
* @since 2.9.1 Use LWT_LANG_DEFS instead of $langDefs | ||
* @since 2.9.1 Use LWT_LANGUAGES_ARRAY instead of $langDefs | ||
*/ | ||
|
||
/** | ||
|
@@ -19,7 +19,7 @@ | |
* "sentSplRegExp", makeCharacterWord, removeSpaces, rightToLeft) | ||
*/ | ||
define( | ||
'LWT_LANG_DEFS', | ||
'LWT_LANGUAGES_ARRAY', | ||
array( | ||
"Afrikaans" => array( | ||
"af", "af", false, | ||
|
@@ -300,9 +300,9 @@ | |
); | ||
|
||
/** | ||
* @var array $langDefs Old name for LWT_LANG_DEFS. | ||
* @var array $langDefs Old name for LWT_LANGUAGES_ARRAY. | ||
* | ||
* @deprecated 2.9.1-fork, will be removed in 3.0.0 | ||
*/ | ||
$langDefs = LWT_LANG_DEFS; | ||
$langDefs = LWT_LANGUAGES_ARRAY; | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters