summaryrefslogtreecommitdiffstats
path: root/lib/locale.sh
Commit message (Collapse)AuthorAgeFilesLines
* libopkbuild: Abort on invalid function argumentsPatrick McDermott2019-03-131-30/+15
| | | | | | | | | | Shift arguments and abort instead of returning 125. Incorrect numbers of function arguments suggest application/library incompatibilities or serious errors by the application developer. Either way, the application developer should be made immediately aware of this (and not allowed to simply not check return values), and continuing to run and handle any further API calls may be unsafe.
* ob_set_text_domain(): Update @return docPatrick McDermott2019-03-121-1/+1
|
* ob_get_text_domain(): Replace echo with printfPatrick McDermott2019-03-111-1/+1
|
* ob_get_msg(): Replace echo with printf in evalPatrick McDermott2019-03-111-1/+1
|
* _OB_TEXT_DOMAIN: Rename global var to _ob_text_domainPatrick McDermott2019-03-111-8/+8
|
* _ob_get_msg(): New internal functionPatrick McDermott2019-03-111-0/+14
| | | | Use it in _ob_*_msg().
* ob_set_text_domain(): Don't print warning message on errorPatrick McDermott2019-03-111-6/+0
|
* ob_set_text_domain(): Exit early if messages already loadedPatrick McDermott2019-03-111-1/+8
|
* lib/changelog.sh, lib/control.sh, lib/locale.sh: Update copyright yearsPatrick McDermott2018-12-291-1/+1
|
* ob_get_msg(): DocumentPatrick McDermott2018-12-281-0/+7
|
* ob_get_text_domain(), ob_set_text_domain(): DocumentPatrick McDermott2018-12-271-0/+20
| | | | Also add a TODO comment to ob_set_text_domain().
* libopkbuild: Move function definitions before points of usePatrick McDermott2018-12-251-18/+18
|
* libopkbuild: Bump shared object version to 2Patrick McDermott2018-12-241-1/+1
|
* libopkbuild: Update header comments, copyright years, & licensePatrick McDermott2018-12-241-9/+9
|
* libopkbuild: Drop include guardsPatrick McDermott2018-12-221-3/+0
|
* ob_use(): RemovePatrick McDermott2018-12-221-2/+0
|
* libopkbuild: Use shppPatrick McDermott2018-12-221-1/+1
|
* lib/*.sh, lib/*/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-181-1/+1
|
* lib/*.sh, lib/*/*.sh: Rewrite include guards.P. J. McDermott2013-08-181-2/+2
| | | | This is one step toward adding `set -u` to opkbuild.
* lib/locale.sh: Remove _ob_local.P. J. McDermott2013-08-181-38/+24
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* Fix quoting in ob_get_msg().P. J. McDermott2012-10-021-1/+1
|
* Factor out name of internal text domain.P. J. McDermott2012-09-301-0/+1
|
* Fix ob_use() arguments.P. J. McDermott2012-09-261-1/+1
|
* Return rather than print value in _ob_return.P. J. McDermott2012-09-091-11/+22
| | | | | Don't use _ob_return in command substitutions. Doing so unsets stack variables only in a subshell environment.
* Use new stack MM in locale module.P. J. McDermott2012-09-081-18/+19
|
* Use ob_use instead of . in all rewritten modules.P. J. McDermott2012-09-081-1/+1
|
* Implement ob_set_locale_path.P. J. McDermott2012-09-081-1/+20
|
* Add ob_get_text_domain.P. J. McDermott2012-09-041-0/+10
|
* Change ob_add_text_domain to ob_set_text_domain.P. J. McDermott2012-09-041-16/+26
| | | | Also add ob_get_msg.
* Remove ob_set_locale and add ob_add_text_domain.P. J. McDermott2012-09-041-33/+30
|
* Clean up "stack variables".P. J. McDermott2012-09-041-0/+5
|
* Partially rewrite locale library module.P. J. McDermott2012-09-041-22/+46
|
* Fix some problems with locale loading.P. J. McDermott2012-08-021-4/+3
|
* Always load at least the default locale.P. J. McDermott2012-08-011-0/+2
|
* Set locale parameters in oh_locale_set().P. J. McDermott2012-08-011-3/+9
|
* Prevent double execution/inclusion.P. J. McDermott2012-08-011-0/+3
|
* Remove a spare line break from the locale library.P. J. McDermott2012-08-011-1/+0
|
* Fix substring patterns in oh_locale_set().P. J. McDermott2012-07-311-4/+4
|
* Support locale setting.P. J. McDermott2012-07-311-0/+48