Skip to content
Snippets Groups Projects
s2fLocalization.sh 1.26 KiB
Newer Older
samvo's avatar
samvo committed
#!/bin/bash

locales_arr=("${LANGUAGE//:/}")
first_locale="${locales_arr[0]:0:2}"

function window_title()
{
    case "$first_locale" in
        "ru")
            printf "Создание новой папки";;
        "be")
            printf "Стварэнне новай тэчкі";;
        "uk")
            printf "Створення нової папки";;
        "nl")
            printf "Maak een nieuwe map";;
samvo's avatar
samvo committed
        *)
            printf "Create new folder";;
    esac
}

function set_name()
{
    case "$first_locale" in
        "ru")
            printf "Укажите имя новой папки";;
        "be")
            printf "Пакажыце імя новай тэчкі";;
        "uk")
            printf "Вкажіть ім'я нової папки";;
        "nl")
            printf "Geef een naam op voor de nieuwe map";;
samvo's avatar
samvo committed
        *)
            printf "Set new folder name";;
    esac
}

samvo's avatar
samvo committed

samvo's avatar
samvo committed
#Standart system name for new folder
function def_name()
{
    case "$first_locale" in
        "ru")
            printf "Новая папка";;
        "be")
            printf "Новая тэчка";;
        "uk")
            printf "Нова папка";;
        "nl")
            printf "Nieuwe map";;
samvo's avatar
samvo committed
        *)
            printf "New folder";;
    esac
}