ソースを参照

Make strings easier to understand

tags/v1.1.0-rc1
Daniel Oaks 5年前
コミット
b8c9de5379
2個のファイルの変更2行の追加2行の削除
  1. 1
    1
      irc/chanserv.go
  2. 1
    1
      languages/example/irc.lang.json

+ 1
- 1
irc/chanserv.go ファイルの表示

@@ -172,7 +172,7 @@ func csOpHandler(server *Server, client *Client, command string, params []string
172 172
 
173 173
 	clientAccount := client.Account()
174 174
 	if clientAccount == "" || clientAccount != channelInfo.Founder() {
175
-		csNotice(rb, client.t("You must be the channel founder to op"))
175
+		csNotice(rb, client.t("Only the channel founder can do this"))
176 176
 		return
177 177
 	}
178 178
 

+ 1
- 1
languages/example/irc.lang.json ファイルの表示

@@ -134,6 +134,7 @@
134 134
   "No topic is set": "No topic is set",
135 135
   "Not enough parameters": "Not enough parameters",
136 136
   "Only channel founders can change registered channels": "Only channel founders can change registered channels",
137
+  "Only the channel founder can do this": "Only the channel founder can do this",
137 138
   "Oragono is released under the MIT license.": "Oragono is released under the MIT license.",
138 139
   "Passphrase contains forbidden characters or is otherwise invalid": "Passphrase contains forbidden characters or is otherwise invalid",
139 140
   "Password changed": "Password changed",
@@ -222,7 +223,6 @@
222 223
   "You may not reregister": "You may not reregister",
223 224
   "You must be an oper on the channel to register it": "You must be an oper on the channel to register it",
224 225
   "You must be registered to join that channel": "You must be registered to join that channel",
225
-  "You must be the channel founder to op": "You must be the channel founder to op",
226 226
   "You must connect with a TLS client certificate to use certfp": "You must connect with a TLS client certificate to use certfp",
227 227
   "You must specify an account": "You must specify an account",
228 228
   "You must wait an additional %v before making another request": "You must wait an additional %v before making another request",

読み込み中…
キャンセル
保存