summaryrefslogtreecommitdiffstats
path: root/lib/locale.sh
Commit message (Collapse)AuthorAgeFilesLines
* ob_set_text_domain(): Fix eval commandsPatrick McDermott2019-03-171-2/+2
|
* _ob_try_load_messages(): Fix logicPatrick McDermott2019-03-171-1/+1
|
* _ob_load_internal_text_domain(): Terminate on errorPatrick McDermott2019-03-171-0/+2
|
* _ob_load_internal_text_domain(): More safely check if LC_MESSAGES etc. are setPatrick McDermott2019-03-161-3/+3
|
* lib/, locale/, tests/: Update copyright yearsPatrick McDermott2019-03-161-1/+1
|
* ob_get_msg(): Make sure ob_set_text_domain() is called firstPatrick McDermott2019-03-151-1/+8
|
* ob_set_locale_path(): RemovePatrick McDermott2019-03-151-11/+0
| | | | All functions are now documented.
* _ob_try_load_*messages(): MergePatrick McDermott2019-03-151-21/+7
|
* _ob_try_load_*messages(): Don't mandate "locale" dir in build dirPatrick McDermott2019-03-151-2/+2
|
* _ob_try_load_messages(): Support running in placePatrick McDermott2019-03-151-2/+7
|
* _ob_try_load_internal_messages(): Remove tab on empty linePatrick McDermott2019-03-151-1/+1
|
* _ob_try_load_internal_messages(): Remove stray linePatrick McDermott2019-03-151-1/+0
|
* _ob_try_load_internal_messages(): Rename OB_BUILDDIR env varPatrick McDermott2019-03-151-2/+2
|
* _ob_try_load_messages(): Replace . with eval/catPatrick McDermott2019-03-151-6/+6
|
* _ob_try_load_messages(): Abort on missing argumentPatrick McDermott2019-03-151-2/+2
|
* ob_set_text_domain(): _ob_load_internal_text_domain() sets LC_MESSAGESPatrick McDermott2019-03-151-11/+0
|
* _ob_load_internal_text_domain(): New __init functionPatrick McDermott2019-03-151-0/+40
|
* _ob_get_msg(): Don't call ob_set_text_domain()Patrick McDermott2019-03-151-5/+1
| | | | | Repeat instead of reusing code, as the result is actually shorter and faster code.
* Fix missing "()" after function names in @detailsPatrick McDermott2019-03-141-3/+4
| | | | | Also fix function name in ob_get_system_plat()'s @details and update ob_error()'s @details.
* 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
|