From 6b8a832fb871b9fe2375c38accbacb9aac7a40de Mon Sep 17 00:00:00 2001 From: hayao Date: Mon, 21 Dec 2020 16:07:12 +0900 Subject: [PATCH] [update] : Added jp translation --- wfa | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/wfa b/wfa index 24eeb45..5c7753f 100755 --- a/wfa +++ b/wfa @@ -41,7 +41,6 @@ declare -A ja_JP=( ["only one operation may be used at a time"]="一度に使用できるオペレーションは1つだけです" ["Failed to set the argument of %s"]="%sの引数の設定に失敗しました" ["Setting that command is not currently supported"]="そのコマンドの設定は現在サポートされていません" - ["Install dependent packages..."]="依存パッケージをインストールします..." ["Searching in AUR ..."]="AUR内を検索しています..." ["No package with an exact name match was found"]="完全に一致する名前のパッケージが見つかりませんでした" ["Select a package %s with an exact name match"]="名前が完全に一致するパッケージ %s を選択します" @@ -51,6 +50,12 @@ declare -A ja_JP=( ["Do you want to overwrite and download? [n] :"]="上書きダウンロードしますか? [n] :" ["Unpacking the tarball of PKGBUILD ..."]="PKGBUILDを展開しています ..." [".SRCINFO was not found.\nGenerating it using makepkg"]=".SCRINFOが見つかりませんでした。makepkgを使用して生成しています" + ["Conflict(s) was found"]="衝突が見つかりました" + ["Install dependent packages..."]="依存パッケージをインストールします..." + ["Packages to cleanBuild? [n] :"]="パッケージをクリーンビルドしますか? [n] :" + ["Could not find all required packages:\n %s"]="必要なすべてのパッケージが見つかりませんでした %s" + ["This is a feature that has not been implemented yet"]="まだ実装されていない機能です" + ["This is a feature that has not been implemented yet"]="まだ実装されていない機能です" ) @@ -766,7 +771,7 @@ install_aur_package() { fi # PKGBUILDを展開 - msg_info "Unpacking the tarball of PKGBUILD ..." #ここまで翻訳 + msg_info "Unpacking the tarball of PKGBUILD ..." tar -xv -f "${_pkgbuild_archive_path}" -C "${wfa_cache_dir}/build/" > /dev/null 2>&1 # .SRCINFOを解析 @@ -800,7 +805,7 @@ install_aur_package() { _conflicts_found=true fi if [[ "${_conflicts_found}" = true ]]; then - msg_error "A conflict was found." + msg_error "Conflict(s) was found" exit 1 fi @@ -877,7 +882,7 @@ search_aur_package() { local _aur_json=$(curl -sL "https://aur.archlinux.org/rpc/?v=5&type=search&by=name-desc&arg=${_package}" | jq -r ) local _found_result_count="$(echo "${_aur_json}" | jq -r ".resultcount")" if (( "${_found_result_count}" == 0 )); then - msg_error "Could not find all required packages:\n ${_package}" + msg_error "Could not find all required packages:\n %s" "${_package}" exit 1 fi _aur_json=$(echo "${_aur_json}" | jq -r ".results[]") @@ -935,6 +940,7 @@ install_package() { } upgrade_aur_package() { + #ここまで翻訳 msg_error "This is a feature that has not been implemented yet" } -- 2.11.0