Skip to content

Commit

Permalink
Merge branch 'staging' into translation-japanese-2024-09-30
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericsimard committed Oct 3, 2024
2 parents 3378241 + a88a01e commit 4dddfca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
site/
node_modules
.cache/

overrides/fr/*
overrides/es/*
Expand Down
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RewriteRule ^schedule/process/#revision-history https://gtfs.org/documentation/s
RewriteCond %{REQUEST_URI} ^/(?:fr|es|ja|ru|pt|ko|id|de|zh|zh-TW)/blog/
RewriteRule ^(.+?)/.+$ /blog/ [L,R=302]

# Match any URL under /ja, /ru, /pt, /ko, /id, /de, /zh, or /zh-TW and redirect to the corresponding index.html
RewriteCond %{REQUEST_URI} ^/(ja|ru|pt|ko|id|de|zh|zh-TW)/
# Match any URL under /ru, /pt, /ko, /id, /de, /zh, or /zh-TW and redirect to the corresponding index.html
RewriteCond %{REQUEST_URI} ^/(ru|pt|ko|id|de|zh|zh-TW)/
RewriteCond %{REQUEST_URI} !index\.html$
RewriteRule ^(.+?)/.+$ /$1/index.html [L,R=302]
12 changes: 2 additions & 10 deletions docs/ja/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
---
hide:
- navigation
- toc
template: home.html
title: Home
---

# 翻訳中です!
## 私たちはサイトを日本語でご利用いただけるよう現在も取り組んでいます。でも心配しないでください、もうすぐですよ!

一方、最新の情報は [英語サイト](https://gtfs.org) でご覧いただくか、翻訳されたコンテンツを含む [アーカイブ サイト](https://archive.gtfs.org) にアクセスしてください。あなたの言語で。警告、アーカイブされたサイトはもう維持されておらず、現在のサイトほど最新ではない可能性があります。

### このウェブサイトの改善に努めてまいりますので、今しばらくお待ちくださいますようお願いいたします。
2 changes: 1 addition & 1 deletion scripts/i18n-landing-assets-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Define the source directory
SOURCE_DIR="overrides/assets/landing"

LANGUAGES=("fr" "es" "de" "id" "ja" "ko" "pt" "ru" "zh" "zh-TW")
LANGUAGES=("fr" "es" "ja" "de" "id" "ko" "pt" "ru" "zh" "zh-TW")

# Loop through each language and copy the source directory
for lang in "${LANGUAGES[@]}"; do
Expand Down

0 comments on commit 4dddfca

Please sign in to comment.