diff options
Diffstat (limited to 'webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/locale/String.js')
-rw-r--r-- | webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/locale/String.js | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/locale/String.js b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/locale/String.js new file mode 100644 index 0000000000..0c3725bd04 --- /dev/null +++ b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/locale/String.js @@ -0,0 +1,69 @@ +/* ************************************************************************ + + qooxdoo - the new era of web development + + http://qooxdoo.org + + Copyright: + 2004-2007 1&1 Internet AG, Germany, http://www.1and1.org + + License: + LGPL: http://www.gnu.org/licenses/lgpl.html + EPL: http://www.eclipse.org/org/documents/epl-v10.php + See the LICENSE file in the project's top-level directory for details. + + Authors: + * Sebastian Werner (wpbasti) + * Andreas Ecker (ecker) + * Fabian Jakobs (fjakobs) + +************************************************************************ */ + +/** + * Create a new instance of qx.locale.String + */ +qx.OO.defineClass("qx.locale.String"); + + +/** + * Get quotation start sign + * + * @param locale {String} optional locale to be used + * @return {qx.locale.LocalizedString} quotation start sign + */ +qx.Class.getQuotationStart = function(locale) { + return new qx.locale.LocalizedString("cldr_quotationStart", [], locale); +}; + + +/** + * Get quotation end sign + * + * @param locale {String} optional locale to be used + * @return {qx.locale.LocalizedString} quotation end sign + */ +qx.Class.getQuotationEnd = function(locale) { + return new qx.locale.LocalizedString("cldr_quotationEnd", [], locale); +}; + + +/** + * Get quotation alternative start sign + * + * @param locale {String} optional locale to be used + * @return {qx.locale.LocalizedString} alternative quotation start sign + */ +qx.Class.getQuotationStart = function(locale) { + return new qx.locale.LocalizedString("cldr_alternateQuotationStart", [], locale); +}; + + +/** + * Get quotation alternative end sign + * + * @param locale {String} optional locale to be used + * @return {qx.locale.LocalizedString} alternative quotation end sign + */ +qx.Class.getQuotationEnd = function(locale) { + return new qx.locale.LocalizedString("cldr_alternateQuotationEnd", [], locale); +};
\ No newline at end of file |