Skip to content

Commit

Permalink
Merge pull request #39 from vcatafesta/main
Browse files Browse the repository at this point in the history
qua 11 out 2023 03:26:32 -04 Vilmar Catafesta ([email protected])
  • Loading branch information
vcatafesta authored Oct 11, 2023
2 parents 38a5493 + c536e5d commit b2f3da0
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 46 deletions.
20 changes: 10 additions & 10 deletions usr/share/bigbashview/bcc/shell/bcclib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ function sh_get_locale {
export -f sh_get_locale

function sh_get_code_lang {
LangFilter="${LANG%%.*}"
LangFilterLowercase="${LangFilter,,}"
LangClean="${LangFilterLowercase%%_*}"
LangCountry="${LangFilterLowercase#*_}"
LangFilterLowercaseModified="${LangFilterLowercase//_/-}"
local LangFilter="${LANG%%.*}"
local LangFilterLowercase="${LangFilter,,}"
local LangClean="${LangFilterLowercase%%_*}"
local LangCountry="${LangFilterLowercase#*_}"
local LangFilterLowercaseModified="${LangFilterLowercase//_/-}"
echo "$LangFilterLowercaseModified"
}
export -f sh_get_code_lang
Expand All @@ -138,11 +138,11 @@ function sh_get_lang_without_utf8 {
export -f sh_get_lang_without_utf8

function sh_get_code_language {
LangFilter="${LANGUAGE%%.*}"
LangFilterLowercase="${LangFilter,,}"
LangClean="${LangFilterLowercase%%_*}"
LangCountry="${LangFilterLowercase#*_}"
LangFilterLowercaseModified="${LangFilterLowercase//_/-}"
local LangFilter="${LANGUAGE%%.*}"
local LangFilterLowercase="${LangFilter,,}"
local LangClean="${LangFilterLowercase%%_*}"
local LangCountry="${LangFilterLowercase#*_}"
local LangFilterLowercaseModified="${LangFilterLowercase//_/-}"
echo "$LangFilterLowercaseModified"
}
export -f sh_get_code_language
Expand Down
Loading

0 comments on commit b2f3da0

Please sign in to comment.