[asterisk-bugs] [Asterisk 0016272]: [patch] Language code collisions for certan languages

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 3 14:18:01 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16272 
====================================================================== 
Reported By:                patrol-cz
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16272
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.9 
JIRA:                       SWP-424 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-18 09:39 CST
Last Modified:              2009-12-03 14:18 CST
====================================================================== 
Summary:                    [patch] Language code collisions for certan
languages
Description: 
Probably in all current Asterisk branches, there are collisions for at
least two language codes: Czech (cs/cz) and Swedish (sv/se). For example,
the Czech language code is "cz" in all the tonezone stuff and also in
app_voicemail.c, while in say.c, request to use the correct code "cs" is
printed when an obsolete "cz" code is used, but following it would break
Czech voicemail syntax rules in app_voicemail.c.So, I feel necessary to
unify the codes and start to use only one of them, probably "cs".
====================================================================== 

---------------------------------------------------------------------- 
 (0114676) svnbot (reporter) - 2009-12-03 14:18
 https://issues.asterisk.org/view.php?id=16272#c114676 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 232820

U   branches/1.4/apps/app_voicemail.c

------------------------------------------------------------------------
r232820 | tilghman | 2009-12-03 14:18:00 -0600 (Thu, 03 Dec 2009) | 8
lines

Deprecate "cz" in favor of "cs".
Also, change the use of language codes so that language registers as a
prefix,
rather than an exact match.
(closes issue https://issues.asterisk.org/view.php?id=16272)
 Reported by: patrol-cz
 Patches: 
       20091203__issue16272.diff.txt uploaded by tilghman (license 14)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=232820 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-03 14:18 svnbot         Checkin                                      
2009-12-03 14:18 svnbot         Note Added: 0114676                          
======================================================================




More information about the asterisk-bugs mailing list