From de4bdef2671e5ff661921ec43f29625470503a2b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 16 Aug 2022 00:38:50 +0800 Subject: [PATCH] update translate --- README.md | 4 ++-- lib/LANraragi/Controller/Login.pm | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d8a370a..99836ac 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,12 @@ Lanraragi是一个开源的压缩包漫画阅读器,运行在Mojolicious和Red [⏬ 下载源码](https://github.com/uparrows/LANraragi_cn/releases/latest) |[📄 教程](http://yuanfangblog.xyz/technology/251.html) | -安卓客户端:https://f-droid.org/packages/com.utazukin.ichaival/ +安卓客户端(已提交中文支持):https://f-droid.org/packages/com.utazukin.ichaival/ IOS客户端(用AltStore安装): https://github.com/Doraemoe/DuReader/releases AltStore:https://altstore.io/ -Windows客户端: https://www.microsoft.com/zh-cn/p/lrreader/9mz6bwwvswjh +Windows客户端(已提交中文支持): https://www.microsoft.com/zh-cn/p/lrreader/9mz6bwwvswjh ## 扫码直接查看教程 diff --git a/lib/LANraragi/Controller/Login.pm b/lib/LANraragi/Controller/Login.pm index f66970f..c81b3d8 100644 --- a/lib/LANraragi/Controller/Login.pm +++ b/lib/LANraragi/Controller/Login.pm @@ -17,14 +17,14 @@ sub check { if ( $ppr->match($pw) ) { - $self->LRR_LOGGER->info( "Դ " $self->tx->remote_address "¼ɹ" ); + $self->LRR_LOGGER->info( "¼ɹԣ " . $self->tx->remote_address ); $self->session( is_logged => 1 ); $self->session( expiration => 60 * 60 * 24 ); $self->redirect_to('index'); } else { - $self->LRR_LOGGER->warn( "ʹ '$pw' Դ " $self->tx->remote_address "¼ʧ"); + $self->LRR_LOGGER->warn( "ʹ '$pw' ½ʧܣԣ " . $self->tx->remote_address); $self->render( template => "login", @@ -64,7 +64,7 @@ sub logged_in_api { || $self->session('is_logged') || $self->LRR_CONF->enable_pass == 0; $self->render( - json => { error => "This API is protected and requires login or an API Key." }, + json => { error => " API ܱҪ¼ API Կ." }, status => 401 ); return 0;