Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[翻译]游戏内容&Readme的日本语翻译 #528

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
65 changes: 65 additions & 0 deletions .github/workflows/senrenbanka_banzai.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Build Android Phira

on:
workflow_dispatch:


env:
CARGO_TERM_COLOR: always
ANDROID_HOME: ${{github.workspace}}/android-sdk
ANDROID_NDK_HOME: ${{github.workspace}}/android-ndk-r27c
ANDROID_NDK_ROOT: ${{github.workspace}}/android-ndk-r27c

jobs:
Build:

runs-on: ubuntu-20.04

steps:
- uses: actions/[email protected]

- run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev libasound2-dev libssl-dev pkg-config
sed -i '1d' prpr/src/lib.rs

- name: Download static-lib
uses: suisei-cn/[email protected]
id: downlod-static-lib
with:
url: "https://teamflos.github.io/phira-docs/phira_build_guide/prpr-avc.zip"
target: ./

- name: Set Up static-lib
run: |
unzip prpr-avc.zip -d ./

- name: Install Android SDK Tools
run: |
wget https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip
unzip commandlinetools-linux-8512546_latest.zip -d $ANDROID_HOME
echo y | $ANDROID_HOME/cmdline-tools/bin/sdkmanager --sdk_root=${ANDROID_HOME} "platform-tools" "build-tools;33.0.2" "platforms;android-35"

- name: Install Android NDK
run: |
wget https://googledownloads.cn/android/repository/android-ndk-r27c-linux.zip
unzip android-ndk-r27c-linux.zip -d ${{github.workspace}}

- name: Install Rust Toolchains
uses: actions-rs/[email protected]
with:
toolchain: stable
target: aarch64-linux-android

- name: Build for Android
run: |
cd phira
cargo install cargo-ndk
cargo ndk -t arm64-v8a -p 35 build --release

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: android-build
path: |
target/aarch64-linux-android/release/libphira.so
27 changes: 27 additions & 0 deletions README-ja_JP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Phira

![Phira](https://files-cf.phira.cn/github-showcase.png)

## ダンロード

- [GitHub Release](https://github.com/TeamFlos/phira/releases): Android、Windows、Linux
- [616.sb Mirror](https://616.sb/#phira): Androidだけ
- [App Store](https://apps.apple.com/us/app/phira/id6447435864): iOS(アプリストア)
- ~~[.ipa Release](https://github.com/F-Unction/phira_ipa/releases): For IOS~~

## 贡献

IssueとPull Requestを出すことをようこそ!まずこちらを見ってください[issues](https://github.com/TeamFlos/phira/issues?q=label%3A%22good+first+issue%22) と [pull requests](https://github.com/TeamFlos/phira/issues?q=label%3A%22good+first+issue%22)。
私たちにもっと詳しく交流したら、 [このメールアドレス](mailto://[email protected])に連絡を取ってください。現在 **リズム・音楽ゲーム** の経験を持つ **Rust** プログラマーを募集中です。


## 翻訳

貴方の言語を追加したら、 [ここを見ってください](https://github.com/TeamFlos/phira/pull/201#issuecomment-1783356944)。


今の翻訳のは間違いだと思ったら、issueを出してください。

## Star 歴史

[![Stargazers over time](https://starchart.cc/TeamFlos/phira.svg?variant=adaptive)](https://starchart.cc/TeamFlos/phira)
27 changes: 27 additions & 0 deletions prpr/locales/ja-JP/chart_info.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

edit-chart = 楽譜を編集
level-displayed = 難しさを表示
chart-name = 楽譜名前
author = 作者
composer = 曲師
illustrator = イラストレーター
diff = 難しさ
preview-time = プレビュー時間
preview-hint = Use the format "START - END".
invalid-time = 無効の時間
preview-too-short = プレビュー時間が短すぎ
preview-too-long = プレビュー時間が長すぎ
offset = オフセット(s)
aspect-ratio = 縦横比
ps = PS:
aspect-hint = Aspect ratio should be in the format "width:height" or a real number.
dim = 薄暗い
chart-file = 楽譜ファイル
music-file = 音楽ファイル
illu-file = イラストファイル
tip = Tip
intro = イントロ
tags = タグ
tag-exists = タグはもうありました

illegal-input = 非法入力
6 changes: 6 additions & 0 deletions prpr/locales/ja-JP/dialog.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
notice = 提示
ok = 確認

error = エラー
error-copy = エラーをコピーする
error-copied = できました
16 changes: 16 additions & 0 deletions prpr/locales/ja-JP/ending.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
retry = 再試行
proceed = 続け

new-best = 新記録
max-combo = Max COMBO
rks-delta = RKS変化
accuracy = Accuracy
error = 誤差

uploading = 成績アプロード中
uploaded = アプロード成功
upload-failed = アプロード失敗
upload-cancel = キャンセル
upload-retry = 再試行

still-uploading = アプロード中
10 changes: 10 additions & 0 deletions prpr/locales/ja-JP/game.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
to = To
adjust-offset = 遅れの調整
offset-cancel = キャンセル
offset-reset = リセット
offset-save = 保存
speed = スピード

ex-time-out-of-range = 入力時間が範囲外です
ex-invalid-format = 形式が間違い
ex-time-set = 時間設定成功
45 changes: 45 additions & 0 deletions prpr/locales/ja-JP/parser.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

# general
unknown-note-type = 未知的な音声記号: { $type }
json-parse-failed = JSON 分析失敗
judge-line-location = #{ $jlid } ジャッジライン

# rpe
type-events-parse-failed = { $type } 事件分析失敗
incline-events-parse-failed = incline事件分析失敗
paint-events-parse-failed = paint事件分析失敗
text-events-parse-failed = テキスト事件分析失敗
color-events-parse-failed = 色の事件分析失敗
gif-events-parse-failed = GIF 事件分析失敗

illustration-load-failed = { $path } にあるイラストロードが失敗
gif-load-failed = { $path } にあるGIFロード失敗

judge-line-location-name = #{ $jlid } ({ $name }) 判定线中
hitsound-missing = パーカッション `{ $name }` がありません

# pgr
event-not-contiguous = 事件应当连续

alpha-events-parse-failed = Alpha事件分析失敗
rotate-events-parse-failed = Rotate事件分析失敗
move-events-parse-failed = Move事件分析失敗

# pec
unexpected-eol = 行意外结束
expected-f32 = 应当为 f32
expected-usize = 应当为 usize
expected-tween = 应当为 tween

no-notes-inserted = 未插入音符
unknown-command = 未知命令: { $cmd }
bp-error = Bpm 事件 (bp) 应当连续且位于文件开头
expected-01 = 应当为 0 / 1 (真 note / 假 note)
unexpected-extra = 未知的附加内容: { $next }
line-location = #{ $lid } 行中

# extra
shader-load-failed = { $path } でShaderをロードできません
shader-not-found = { $shader } のShaderがありません
effect-location = #{ $id } 号 effect 中
video-load-failed = { $path } で動画をロードできません
6 changes: 6 additions & 0 deletions prpr/locales/ja-JP/scene.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
input = 入力
input-msg = テキストを入力してください
input-hint = テキスト

read-file-failed = ファイルを読み取り失敗
pasted = クリップボートからロードする成功