fix escape single/double quotes in string resource.
This commit is contained in:
parent
e6673809f0
commit
5b432d2dbd
@ -573,7 +573,7 @@
|
||||
<string name="cant_access_list">Impossible d’accéder aux listes</string>
|
||||
<string name="account_sync_failed">account sync failed.</string>
|
||||
<string name="list_retry_with_follow">You have not followed %1$s yet. Would you like to follow and then add to list?</string>
|
||||
<string name="cant_add_list_follow_requesting">Can\'t add user to list:\nif the user is "locked", please wait until follow request is approved. else please retry 2…3 times.</string>
|
||||
<string name="cant_add_list_follow_requesting">Can\'t add user to list:\nif the user is \"locked\", please wait until follow request is approved. else please retry 2…3 times.</string>
|
||||
<string name="cant_add_list_follow_failed">Can\'t add user to list:\nfollow operation failed.</string>
|
||||
<string name="list_member_added">User has been added to the list.</string>
|
||||
<string name="confirm_mute_notification_for_user">Mute notification from this user</string>
|
||||
@ -653,9 +653,9 @@
|
||||
<string name="thumbnails_arrange_vertically">Vertical arrange thumbnails (app restart required)</string>
|
||||
<string name="instance_local">Instance local</string>
|
||||
<string name="send_access_token_to_app_server">Send access token to app server</string>
|
||||
<string name="send_access_token_to_app_server_desc">Normally you can use "pull" notification (with delay) without app server, because it works on your device.
|
||||
\nBut if you want to use "custom notification listener", or if you are the member of very limited instances that is supported by ST\'s app server,
|
||||
\nyou can use "push" notifications, but you have to allow sending access tokens to the app server. (this is mastodon's defect)</string>
|
||||
<string name="send_access_token_to_app_server_desc">Normally you can use \"pull\" notification (with delay) without app server, because it works on your device.
|
||||
\nBut if you want to use \"custom notification listener\", or if you are the member of very limited instances that is supported by ST\'s app server,
|
||||
\nyou can use \"push\" notifications, but you have to allow sending access tokens to the app server. (this is mastodon\'s defect)</string>
|
||||
<string name="pull_notification_check_interval">Pull notification check interval (unit: minutes, default:15, min:15)</string>
|
||||
<string name="follow_accept">accept</string>
|
||||
<string name="follow_deny">deny</string>
|
||||
|
@ -611,7 +611,7 @@
|
||||
<string name="select_plugin">プラグインの選択</string>
|
||||
<string name="send">共有</string>
|
||||
<string name="send_access_token_to_app_server">アクセストークンをアプリサーバに送信する</string>
|
||||
<string name="send_access_token_to_app_server_desc">通常は"pull"通知(すこし遅れる)を利用できます。それは端末上で動作するのでアプリサーバは必要ありません。しかしカスタム通知リスナを使う場合やSTがサポートする限られたインスタンスのユーザである場合は"push"通知を利用することができます。ただしアクセストークンをアプリサーバに送信する必要があります(これはマストドンの欠陥です)。</string>
|
||||
<string name="send_access_token_to_app_server_desc">通常は\"pull\"通知(すこし遅れる)を利用できます。それは端末上で動作するのでアプリサーバは必要ありません。しかしカスタム通知リスナを使う場合やSTがサポートする限られたインスタンスのユーザである場合は\"push\"通知を利用することができます。ただしアクセストークンをアプリサーバに送信する必要があります(これはマストドンの欠陥です)。</string>
|
||||
<string name="send_header_account_acct">Account-Acct</string>
|
||||
<string name="send_header_account_created_at">Account-Created-At</string>
|
||||
<string name="send_header_account_followers_count">Account-Followers-Count</string>
|
||||
|
@ -561,7 +561,7 @@
|
||||
<string name="cant_access_list">Can\'t access to lists</string>
|
||||
<string name="account_sync_failed">account sync failed.</string>
|
||||
<string name="list_retry_with_follow">You are not following %1$s yet. Would you like to follow and then add to list?</string>
|
||||
<string name="cant_add_list_follow_requesting">Can\'t add user to list:\nPlease retry 2…3 times. Or if user is "locked", please wait until follow request is approved.</string>
|
||||
<string name="cant_add_list_follow_requesting">Can\'t add user to list:\nPlease retry 2…3 times. Or if user is \"locked\", please wait until follow request is approved.</string>
|
||||
<string name="cant_add_list_follow_failed">Can\'t add user to list:\nfollow operation failed.</string>
|
||||
<string name="list_member_added">User has been added to the list.</string>
|
||||
<string name="confirm_mute_notification_for_user">Mute notification from this user</string>
|
||||
@ -634,9 +634,9 @@
|
||||
<string name="thumbnails_arrange_vertically">Vertical arrange thumbnails (app restart required)</string>
|
||||
<string name="instance_local">Instance local</string>
|
||||
<string name="send_access_token_to_app_server">Send access token to app server</string>
|
||||
<string name="send_access_token_to_app_server_desc">Normally you can use "pull" notification (with delay) without app server, because it works on your device.
|
||||
\nBut if you want to use "custom notification listener", or if you are the member of very limited instances that is supported by ST\'s app server,
|
||||
\nyou can use "push" notifications, but you have to allow sending access tokens to the app server. (this is mastodon's defect)</string>
|
||||
<string name="send_access_token_to_app_server_desc">Normally you can use \"pull\" notification (with delay) without app server, because it works on your device.
|
||||
\nBut if you want to use \"custom notification listener\", or if you are the member of very limited instances that is supported by ST\'s app server,
|
||||
\nyou can use \"push\" notifications, but you have to allow sending access tokens to the app server. (this is mastodon\'s defect)</string>
|
||||
<string name="pull_notification_check_interval">Pull notification check interval (unit: minutes, default:15, min:15)</string>
|
||||
<string name="follow_accept">accept</string>
|
||||
<string name="follow_deny">deny</string>
|
||||
|
@ -73,6 +73,11 @@ for my $lang ( sort keys %langs ){
|
||||
$hasError =1;
|
||||
print "!! ($lang)$name : broken param: $sv // $value\n";
|
||||
}
|
||||
|
||||
# エスケープされていないシングルクォートがあればエラー
|
||||
if( $value =~ m/(?<!\\)['"]/ ){
|
||||
print "!! ($lang)$name : containg single or double quote without escape.\n";
|
||||
}
|
||||
}
|
||||
my $nameCount = 0+ keys %$names;
|
||||
print "($lang)string resource count=$nameCount\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user