Обновлён перевод

master
Mike Khiretskiy 9 years ago
parent e522254f00
commit 8edf5768ea

@ -61,12 +61,12 @@ Version: $CL_KERNEL_VERSION
${DESCRIPTION}
--kver [VERSION] specify kernel version ('list' for displaying possible values)
--kver-old [VERSION] specify kernel version for new options ('list' for displaying possible values)
--convert migrate .config from kernel directory to templates
-s, --skip-build do not build kernel after configuration
--kver [VERSION] specify the kernel version ('list' for displaying possible values)
--kver-old [VERSION] specify the kernel version for new options ('list' for displaying possible values)
--convert migrate .config from the kernel directory to templates
-s, --skip-build do not build the kernel after configuration
--march [ARCH] kernel architecture
--safemode create additional initrd with all modules (only for calculate-sources)
--safemode create an additional initrd with all modules (only for calculate-sources)
--help display this help and exit
"
}
@ -133,7 +133,7 @@ do_args() {
if [[ -n $1 ]]
then
usage;
eerror $"Unknown option: $1"
eerror $"Unknown argument: $1"
fi
}
@ -279,7 +279,7 @@ create_kernel_config() {
# получить конфигурацию ядра по умолчанию, нужной архитектуры
local temp_config=".config_clkernel_${ARCH}"
(cd ${kernel_dir};ARCH=$MARCH KCONFIG_CONFIG=${temp_config} make defconfig;mv ${temp_config} ${tempdir}/.config) &>>$DEBUG_LOG ||
eerror $"Failed to create default kernel config"
eerror $"Failed to create the default kernel config"
# выполнить шаблоны (патчи)
/usr/sbin/cl-core-patch --march=$TEMPLATE_ARCH --pkg-name ${pn} --pkg-category ${category} --pkg-version=${pv} --pkg-slot=${pv} --pkg-path=$tempdir $templates &>>$DEBUG_LOG || eerror $"Failed to apply kernel templates"
# вывести содержимое файла конфигурации ядра
@ -379,7 +379,7 @@ fi
for check_dir in ${KERNEL_DIR} ${KERNEL_OLD_DIR}
do
[[ -d ${check_dir} ]] || eerror $"Kernel directory ${check_dir} not found"
check_kernel_sources ${check_dir} || eerror $"Kernel directory ${check_dir} has not full sources"
check_kernel_sources ${check_dir} || eerror $"Kernel directory ${check_dir} has no full sources"
done
# получить версию из директории ядра
@ -404,7 +404,7 @@ if ! [[ -d $LOCAL_TEMPLATES_DIR ]]
then
(mkdir -p $LOCAL_TEMPLATES_DIR ;
echo "# Calculate env=install cl_ver>=3.3.0 cl_name==calculate-core&&ac_install_patch==on append=skip" >${LOCAL_TEMPLATES_DIR}/.calculate_directory) ||
eerror $"Failed to create kernel template directory"
eerror $"Failed to create the kernel template directory"
fi
# если другая архитектура
@ -446,13 +446,13 @@ TEMPLATE_NAME="${LOCAL_TEMPLATES_DIR}/${TEMPLATE_NAME_ARCH_PREFIX}${PV2}"
if [[ -n $CREATE_NEW ]]
then
ebegin $"Preparing current kernel config"
ebegin $"Preparing the current kernel configuration"
create_kernel_config ${KERNEL_OLD_DIR:-${KERNEL_DIR}} \
${CATEGORY_PN_OLD:-${CATEGORY_PN}} \
${PV_OLD:-${PV}} >$NEW_CONFIG
eend
else
ebegin $"Using current kernel config"
ebegin $"Applying the current kernel configuration"
eend
fi
@ -461,7 +461,7 @@ fi
######################################
BASE_CONFIG=$( ${MKTEMP} )
ebegin $"Preparing base kernel config"
ebegin $"Preparing the basic kernel configuration"
if [[ -n $CREATE_BASE ]]
then
# будут использоваться только шаблоны оверлеев
@ -492,16 +492,16 @@ then
do
if diff -u $i $NEW_TEMPLATE &>/dev/null
then
einfo_tail $"Kernel configuration is not changed"
einfo_tail $"The kernel configuration has not changed"
rm $i
SKIP_CREATE_INFO=1
else
newname="$(basename $i)-$(date +%Y%m%d_%H%M -r $i)"
einfo_tail $"Backing up template" "$(basename $i) -> ${newname}"
einfo_tail $"Backing up the template" "$(basename $i) -> ${newname}"
if ! [[ -d ${TEMPLATES_BACKUP} ]]
then
(mkdir -p ${TEMPLATES_BACKUP} &&
echo "# Calculate cl_action==skip" >${TEMPLATES_BACKUP}/.calculate_directory) || eerror $"Failed to create backup directory"
echo "# Calculate cl_action==skip" >${TEMPLATES_BACKUP}/.calculate_directory) || eerror $"Failed to create a backup directory"
fi
mv $i ${TEMPLATES_BACKUP}/${newname}
fi
@ -515,10 +515,10 @@ then
chmod ${CHMOD} $TEMPLATE_NAME
if [[ -z $SKIP_CREATE_INFO ]]
then
einfo_tail $"Creating template" "$(basename $TEMPLATE_NAME)"
einfo_tail $"Creating the template" "$(basename $TEMPLATE_NAME)"
fi
else
einfo_tail $"Skipping empty template"
einfo_tail $"Skipping the empty template"
fi
rm -f $BASE_CONFIG

@ -1,7 +1,7 @@
#: ../cl-kernel:20
msgid "Kernel building tool"
msgstr ""
#: ../cl-kernel:41
#: ../cl-kernel:47
msgid ""
"Usage: $0 [OPTION]\n"
"\n"
@ -11,7 +11,7 @@ msgid ""
"\n"
" -h, --help display all options and exit"
msgstr ""
#: ../cl-kernel:51
#: ../cl-kernel:58
msgid ""
"Usage: $0 [OPTION]\n"
"\n"
@ -19,72 +19,75 @@ msgid ""
"\n"
"${DESCRIPTION}\n"
"\n"
" --kver [VERSION] specify kernel version ('list' for displaying possible values)\n"
" --kver-old [VERSION] specify kernel version for new options ('list' for displaying possible values)\n"
" --convert migrate .config from kernel directory to templates\n"
" -s, --skip-build do not build kernel after configuration\n"
" --kver [VERSION] specify the kernel version ('list' for displaying possible values)\n"
" --kver-old [VERSION] specify the kernel version for new options ('list' for displaying possible values)\n"
" --convert migrate .config from the kernel directory to templates\n"
" -s, --skip-build do not build the kernel after configuration\n"
" --march [ARCH] kernel architecture\n"
" --safemode create additional initrd with all modules (only for calculate-sources)\n"
" --safemode create an additional initrd with all modules (only for calculate-sources)\n"
" --help display this help and exit\n"
""
msgstr ""
#: ../cl-kernel:106
#: ../cl-kernel:115
msgid "Error in parameter --march. The value may be 'x86' or 'x86_64'"
msgstr ""
#: ../cl-kernel:120
#: ../cl-kernel:128
msgid "Unknown option: $1"
msgstr ""
#: ../cl-kernel:254
msgid "Failed to create default kernel config"
#: ../cl-kernel:136
msgid "Unknown argument: $1"
msgstr ""
#: ../cl-kernel:255
#: ../cl-kernel:282
msgid "Failed to create the default kernel config"
msgstr ""
#: ../cl-kernel:284
msgid "Failed to apply kernel templates"
msgstr ""
#: ../cl-kernel:256
#: ../cl-kernel:286
msgid "Kernel configuration file not found"
msgstr ""
#: ../cl-kernel:337
#: ../cl-kernel:381
msgid "Kernel directory ${check_dir} not found"
msgstr ""
#: ../cl-kernel:338
msgid "Kernel directory ${check_dir} has not full sources"
#: ../cl-kernel:382
msgid "Kernel directory ${check_dir} has no full sources"
msgstr ""
#: ../cl-kernel:348
#: ../cl-kernel:394
msgid "--safemode available for calculate-sources only"
msgstr ""
#: ../cl-kernel:353
#: ../cl-kernel:399
msgid "--safemode unavailable without dracut"
msgstr ""
#: ../cl-kernel:360
msgid "Failed to create kernel template directory"
#: ../cl-kernel:407
msgid "Failed to create the kernel template directory"
msgstr ""
#: ../cl-kernel:398
msgid "Preparing current kernel config"
#: ../cl-kernel:449
msgid "Preparing the current kernel configuration"
msgstr ""
#: ../cl-kernel:404
msgid "Using current kernel config"
#: ../cl-kernel:455
msgid "Applying the current kernel configuration"
msgstr ""
#: ../cl-kernel:410
msgid "Preparing base kernel config"
#: ../cl-kernel:464
msgid "Preparing the basic kernel configuration"
msgstr ""
#: ../cl-kernel:440
msgid "Kernel configuration is not changed"
#: ../cl-kernel:495
msgid "The kernel configuration has not changed"
msgstr ""
#: ../cl-kernel:445
msgid "Backing up template"
#: ../cl-kernel:500
msgid "Backing up the template"
msgstr ""
#: ../cl-kernel:449
msgid "Failed to create backup directory"
#: ../cl-kernel:504
msgid "Failed to create a backup directory"
msgstr ""
#: ../cl-kernel:462
msgid "Creating template"
#: ../cl-kernel:518
msgid "Creating the template"
msgstr ""
#: ../cl-kernel:465
msgid "Skipping empty template"
#: ../cl-kernel:521
msgid "Skipping the empty template"
msgstr ""
#: ../cl-kernel:495
#: ../cl-kernel:556
msgid "Kernel build time: "
msgstr ""
#: ../cl-kernel:510
#: ../cl-kernel:571
msgid "All done!"
msgstr ""

@ -1,22 +1,21 @@
msgid ""
msgstr ""
"Project-Id-Version: cl-kernel 0.1_alpha6\n"
"Report-Msgid-Bugs-To: support@calculate.ru\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-24 13:43+0300\n"
"PO-Revision-Date: 2015-02-24 13:43+0300\n"
"Last-Translator: Calculate Ltd. <support@calculate.ru>, Elena Gavrilova <e."
"vl.gavrilova@yandex.ru>\n"
"Language-Team: French <support@calculate.ru>\n"
"Language: fr\n"
"Last-Translator: Mikhail Khiretskiy <mh@calculate.ru>\n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../cl-kernel:20
msgid "Kernel building tool"
msgstr ""
msgstr "Utilitaire de compilation du noyau"
#: ../cl-kernel:41
#: ../cl-kernel:47
msgid ""
"Usage: $0 [OPTION]\n"
"\n"
@ -26,8 +25,15 @@ msgid ""
"\n"
" -h, --help display all options and exit"
msgstr ""
"Usage : $0 [OPTIONS]\n"
"\n"
"Version : $CL_KERNEL_VERSION\n"
"\n"
"${DESCRIPTION}\n"
"\n"
" -h, --help afficher toutes les options et quitter"
#: ../cl-kernel:51
#: ../cl-kernel:58
msgid ""
"Usage: $0 [OPTION]\n"
"\n"
@ -35,108 +41,119 @@ msgid ""
"\n"
"${DESCRIPTION}\n"
"\n"
" --kver [VERSION] specify kernel version ('list' for displaying "
"possible values)\n"
" --kver-old [VERSION] specify kernel version for new options ('list' "
"for displaying possible values)\n"
" --convert migrate .config from kernel directory to "
" --kver [VERSION] specify the kernel version ('list' for "
"displaying possible values)\n"
" --kver-old [VERSION] specify the kernel version for new options "
"('list' for displaying possible values)\n"
" --convert migrate .config from the kernel directory to "
"templates\n"
" -s, --skip-build do not build kernel after configuration\n"
" -s, --skip-build do not build the kernel after configuration\n"
" --march [ARCH] kernel architecture\n"
" --safemode create additional initrd with all modules (only "
"for calculate-sources)\n"
" --safemode create an additional initrd with all modules "
"(only for calculate-sources)\n"
" --help display this help and exit\n"
msgstr ""
"Usage: $0 [OPTION]\n"
"Использование: $0 [ПАРАМЕТРЫ]\n"
"\n"
"Version: $CL_KERNEL_VERSION\n"
"Версия: $CL_KERNEL_VERSION\n"
"\n"
"${DESCRIPTION}\n"
"\n"
" --kver [VERSION] spécifier la version du noyau ('list' pour afficher les valeurs disponibles)\n"
" --kver-old [VERSION] spécifier la version du noyau pour les nouvelles options ('list' pour afficher les valeurs disponibles)\n"
" --convert déplacer le fichier .config contenu dans le répertoire du noyau vers les modèles\n"
" -s, --skip-build ne pas compiler le noyau après la configuration\n"
" --march [ARCH] spécifier l'architecture du noyau\n"
" --safemode créer un fichier initrd additionnel avec tous les modules (option réservée à calculate-sources)\n"
" --kver [ВЕРСИЯ] spécifier la version du noyau ('list' pour "
"afficher les valeurs disponibles)\n"
" --kver-old [ВЕРСИЯ] spécifier la version du noyau pour les "
"nouvelles options ('list' pour afficher les valeurs disponibles)\n"
" --convert déplacer le fichier .config contenu dans le "
"répertoire du noyau vers les modèles\n"
" -s, --skip-build ne pas compiler le noyau après la "
"configuration\n"
" --march [АРХИТЕКТУРА] spécifier l'architecture du noyau\n"
" --safemode créer un fichier initrd additionnel avec tous "
"les modules (option réservée à calculate-sources)\n"
" --help afficher cette aide et quitter\n"
#: ../cl-kernel:106
#: ../cl-kernel:115
msgid "Error in parameter --march. The value may be 'x86' or 'x86_64'"
msgstr ""
msgstr "Erreur du paramètre --march. La valeur peut être 'x86' ou 'x86_64'"
#: ../cl-kernel:120
#: ../cl-kernel:128
msgid "Unknown option: $1"
msgstr ""
msgstr "Option inconnue : $1"
#: ../cl-kernel:254
msgid "Failed to create default kernel config"
msgstr ""
#: ../cl-kernel:136
#, fuzzy
msgid "Unknown argument: $1"
msgstr "Option inconnue : $1"
#: ../cl-kernel:255
#: ../cl-kernel:282
msgid "Failed to create the default kernel config"
msgstr "Impossible de créer la configuration par défaut"
#: ../cl-kernel:284
msgid "Failed to apply kernel templates"
msgstr ""
msgstr "Impossible d'appliquer les modèles"
#: ../cl-kernel:256
#: ../cl-kernel:286
msgid "Kernel configuration file not found"
msgstr ""
msgstr "Fichier de configuration introuvable"
#: ../cl-kernel:337
#: ../cl-kernel:381
msgid "Kernel directory ${check_dir} not found"
msgstr ""
msgstr "Répertoire du noyau, ${check_dir}, introuvable"
#: ../cl-kernel:338
msgid "Kernel directory ${check_dir} has not full sources"
#: ../cl-kernel:382
msgid "Kernel directory ${check_dir} has no full sources"
msgstr ""
"Le répertoire du noyau, ${check_dir}, ne contient pas de sources complètes"
#: ../cl-kernel:348
#: ../cl-kernel:394
msgid "--safemode available for calculate-sources only"
msgstr ""
msgstr "L'option --safemode n'est disponible que pour calculate-sources"
#: ../cl-kernel:353
#: ../cl-kernel:399
msgid "--safemode unavailable without dracut"
msgstr ""
msgstr "L'option --safemode requiert dracut"
#: ../cl-kernel:360
msgid "Failed to create kernel template directory"
msgstr ""
#: ../cl-kernel:407
msgid "Failed to create the kernel template directory"
msgstr "Impossible de créer le répertoire des modèles"
#: ../cl-kernel:398
msgid "Preparing current kernel config"
msgstr ""
#: ../cl-kernel:449
msgid "Preparing the current kernel configuration"
msgstr "Préparation de la configuration courante"
#: ../cl-kernel:404
msgid "Using current kernel config"
msgstr ""
#: ../cl-kernel:455
msgid "Applying the current kernel configuration"
msgstr "Validation de la configuration courante"
#: ../cl-kernel:410
msgid "Preparing base kernel config"
msgstr ""
#: ../cl-kernel:464
msgid "Preparing the basic kernel configuration"
msgstr "Préparation de la configuration de base"
#: ../cl-kernel:440
msgid "Kernel configuration is not changed"
msgstr ""
#: ../cl-kernel:495
msgid "The kernel configuration has not changed"
msgstr "La configuration du noyau n'a pas été modifiée"
#: ../cl-kernel:445
msgid "Backing up template"
msgstr ""
#: ../cl-kernel:500
msgid "Backing up the template"
msgstr "Sauvegarde d'une copie du modèle"
#: ../cl-kernel:449
msgid "Failed to create backup directory"
msgstr ""
#: ../cl-kernel:504
msgid "Failed to create a backup directory"
msgstr "Impossible de créer le répertoire des copies"
#: ../cl-kernel:462
msgid "Creating template"
msgstr ""
#: ../cl-kernel:518
msgid "Creating the template"
msgstr "Création du modèle"
#: ../cl-kernel:465
msgid "Skipping empty template"
msgstr ""
#: ../cl-kernel:521
msgid "Skipping the empty template"
msgstr "Omission du modèle vide"
#: ../cl-kernel:495
#: ../cl-kernel:556
msgid "Kernel build time: "
msgstr ""
msgstr "Temps de compilation du noyau : "
#: ../cl-kernel:510
#: ../cl-kernel:571
msgid "All done!"
msgstr ""
msgstr "C'est fait !"

@ -15,7 +15,7 @@ msgstr ""
msgid "Kernel building tool"
msgstr "Утилита для сборки ядра"
#: ../cl-kernel:41
#: ../cl-kernel:47
msgid ""
"Usage: $0 [OPTION]\n"
"\n"
@ -33,7 +33,7 @@ msgstr ""
"\n"
" -h, --help отобразить все параметры и выйти"
#: ../cl-kernel:51
#: ../cl-kernel:58
msgid ""
"Usage: $0 [OPTION]\n"
"\n"
@ -41,16 +41,16 @@ msgid ""
"\n"
"${DESCRIPTION}\n"
"\n"
" --kver [VERSION] specify kernel version ('list' for displaying "
"possible values)\n"
" --kver-old [VERSION] specify kernel version for new options ('list' "
"for displaying possible values)\n"
" --convert migrate .config from kernel directory to "
" --kver [VERSION] specify the kernel version ('list' for "
"displaying possible values)\n"
" --kver-old [VERSION] specify the kernel version for new options "
"('list' for displaying possible values)\n"
" --convert migrate .config from the kernel directory to "
"templates\n"
" -s, --skip-build do not build kernel after configuration\n"
" -s, --skip-build do not build the kernel after configuration\n"
" --march [ARCH] kernel architecture\n"
" --safemode create additional initrd with all modules (only "
"for calculate-sources)\n"
" --safemode create an additional initrd with all modules "
"(only for calculate-sources)\n"
" --help display this help and exit\n"
msgstr ""
"Использование: $0 [ПАРАМЕТРЫ]\n"
@ -71,82 +71,86 @@ msgstr ""
"(только для calculate-sources)\n"
" --help вывод этой справки и выход\n"
#: ../cl-kernel:106
#: ../cl-kernel:115
msgid "Error in parameter --march. The value may be 'x86' or 'x86_64'"
msgstr "Ошибка в параметра --march. Значение может быть 'x86' или 'x86_64'"
msgstr "Ошибка в параметре --march. Значение может быть 'x86' или 'x86_64'"
#: ../cl-kernel:120
#: ../cl-kernel:128
msgid "Unknown option: $1"
msgstr "Неизвестный параметр: $1"
#: ../cl-kernel:254
msgid "Failed to create default kernel config"
msgstr "Не удалось создать конфигуацию ядра по умолчанию"
#: ../cl-kernel:136
msgid "Unknown argument: $1"
msgstr "Неизвестный параметр: $1"
#: ../cl-kernel:282
msgid "Failed to create the default kernel config"
msgstr "Не удалось создать конфигурацию ядра по умолчанию"
#: ../cl-kernel:255
#: ../cl-kernel:284
msgid "Failed to apply kernel templates"
msgstr "Не удалось применить шаблоны ядра"
#: ../cl-kernel:256
#: ../cl-kernel:286
msgid "Kernel configuration file not found"
msgstr "Файл конфигурации ядра не найден"
#: ../cl-kernel:337
#: ../cl-kernel:381
msgid "Kernel directory ${check_dir} not found"
msgstr "Директория ядра ${check_dir} не найдена"
#: ../cl-kernel:338
msgid "Kernel directory ${check_dir} has not full sources"
#: ../cl-kernel:382
msgid "Kernel directory ${check_dir} has no full sources"
msgstr "Директория ядра ${check_dir} не содержит всего исходного кода"
#: ../cl-kernel:348
#: ../cl-kernel:394
msgid "--safemode available for calculate-sources only"
msgstr "--safemode доспупен только для calculate-sources"
msgstr "--safemode доступен только для calculate-sources"
#: ../cl-kernel:353
#: ../cl-kernel:399
msgid "--safemode unavailable without dracut"
msgstr "--safemode недоступен без dracut"
#: ../cl-kernel:360
msgid "Failed to create kernel template directory"
#: ../cl-kernel:407
msgid "Failed to create the kernel template directory"
msgstr "Не удалось создать директорию для шаблонов ядра"
#: ../cl-kernel:398
msgid "Preparing current kernel config"
#: ../cl-kernel:449
msgid "Preparing the current kernel configuration"
msgstr "Подготовка текущей конфигурации ядра"
#: ../cl-kernel:404
msgid "Using current kernel config"
#: ../cl-kernel:455
msgid "Applying the current kernel configuration"
msgstr "Использование текущей конфигурации ядра"
#: ../cl-kernel:410
msgid "Preparing base kernel config"
#: ../cl-kernel:464
msgid "Preparing the basic kernel configuration"
msgstr "Подготовка базовой конфигурации ядра"
#: ../cl-kernel:440
msgid "Kernel configuration is not changed"
#: ../cl-kernel:495
msgid "The kernel configuration has not changed"
msgstr "Конфигурация ядра не изменилась"
#: ../cl-kernel:445
msgid "Backing up template"
#: ../cl-kernel:500
msgid "Backing up the template"
msgstr "Резервное копирование шаблона"
#: ../cl-kernel:449
msgid "Failed to create backup directory"
#: ../cl-kernel:504
msgid "Failed to create a backup directory"
msgstr "Не удалось создать директорию для резервных копий"
#: ../cl-kernel:462
msgid "Creating template"
#: ../cl-kernel:518
msgid "Creating the template"
msgstr "Создание шаблона"
#: ../cl-kernel:465
msgid "Skipping empty template"
#: ../cl-kernel:521
msgid "Skipping the empty template"
msgstr "Пропуск пустого шаблона"
#: ../cl-kernel:495
#: ../cl-kernel:556
msgid "Kernel build time: "
msgstr "Время сборки ядра: "
#: ../cl-kernel:510
#: ../cl-kernel:571
msgid "All done!"
msgstr "Все готово!"

Loading…
Cancel
Save