1#textdomain wesnoth-lib 2### 3### Preferences dialog, Multiplayer page 4### 5 6#define _GUI_PREFERENCES_MP_PAGE_1_GRID_1 7 [row] 8 [column] 9 horizontal_grow = true 10 11 [grid] 12 [row] 13 [column] 14 grow_factor = 0 15 border = "all" 16 border_size = 5 17 horizontal_grow = true 18 19 [label] 20 label = _ "Chat lines:" 21 [/label] 22 [/column] 23 24 [column] 25 grow_factor = 1 26 border = "all" 27 border_size = 5 28 horizontal_grow = true 29 30 [slider] 31 id = "chat_lines" 32 definition = "default" 33 minimum_value = 0 34 maximum_value = 20 35 step_size = 1 36 tooltip = _ "Set the number of chat lines shown" 37 [/slider] 38 [/column] 39 [/row] 40 [/grid] 41 [/column] 42 [/row] 43 44 [row] 45 [column] 46 border = "all" 47 border_size = 5 48 horizontal_alignment = "left" 49 50 [toggle_button] 51 id = "chat_timestamps" 52 label = _ "Chat timestamping" 53 tooltip = _ "Add a timestamp to chat messages" 54 [/toggle_button] 55 [/column] 56 [/row] 57 58 {_GUI_PREFERENCES_SPACER_ROW} 59 60 [row] 61 [column] 62 border = "all" 63 border_size = 5 64 horizontal_alignment = "left" 65 66 [toggle_button] 67 id = "remember_password" 68 label = _ "Save password locally (encrypted)" 69 tooltip = _ "Uncheck to delete the saved password (on exit)" 70 [/toggle_button] 71 [/column] 72 [/row] 73 74 {_GUI_PREFERENCES_SPACER_ROW} 75 76 [row] 77 [column] 78 border = "top,left,right" 79 border_size = 5 80 horizontal_alignment = "left" 81 82 [toggle_button] 83 id = "lobby_whisper_friends_only" 84 label = _ "Accept whispers from friends only" 85 tooltip = _ "Only accept whisper messages from people on your friends list" 86 [/toggle_button] 87 [/column] 88 [/row] 89 90 {_GUI_PREFERENCES_SPACER_ROW} 91 92 [row] 93 [column] 94 border = "top,left,right" 95 border_size = 5 96 horizontal_alignment = "left" 97 98 [toggle_button] 99 id = "lobby_joins_none" 100 definition = "radio" 101 label = _ "Do not show lobby joins" 102 tooltip = _ "Do not show messages about players joining the multiplayer lobby" 103 [/toggle_button] 104 [/column] 105 [/row] 106 107 [row] 108 [column] 109 border = "top,left,right" 110 border_size = 5 111 horizontal_alignment = "left" 112 113 [toggle_button] 114 id = "lobby_joins_friends" 115 definition = "radio" 116 label = _ "Show lobby joins of friends only" 117 tooltip = _ "Show messages about your friends joining the multiplayer lobby" 118 [/toggle_button] 119 [/column] 120 [/row] 121 122 [row] 123 [column] 124 border = "top,left,right" 125 border_size = 5 126 horizontal_alignment = "left" 127 128 [toggle_button] 129 id = "lobby_joins_all" 130 definition = "radio" 131 label = _ "Show all lobby joins" 132 tooltip = _ "Show messages about all players joining the multiplayer lobby" 133 [/toggle_button] 134 [/column] 135 [/row] 136 137#enddef 138 139#define _GUI_PREFERENCES_MP_PAGE_1_GRID_2 140 [row] 141 [column] 142 border = "all" 143 border_size = 5 144 horizontal_alignment = "left" 145 vertical_alignment = "bottom" 146 147 [button] 148 id = mp_alerts 149 label = _ "Alerts" 150 tooltip = _ "Configure multiplayer notification settings" 151 [/button] 152 [/column] 153 154 [column] 155 border = "all" 156 border_size = 5 157 horizontal_alignment = "left" 158 vertical_alignment = "bottom" 159 160 [button] 161 id = mp_wesnothd 162 label = _ "Server Executable" 163 tooltip = _ "Find and set path to MP server to host LAN games" 164 [/button] 165 [/column] 166 [/row] 167#enddef 168 169#define _GUI_LOBBY_SOUNDS_ENTRY ID LABEL TOOLTIP 170 [row] 171 [column] 172 grow_factor = 0 173 174 border = "all" 175 border_size = 5 176 horizontal_alignment = "left" 177 178 [label] 179 definition = "gold_small" 180 181 id = {ID} + "_label" 182 label = {LABEL} 183 tooltip = {TOOLTIP} 184 [/label] 185 [/column] 186 187 [column] 188 grow_factor = 0 189 190 border = "all" 191 border_size = 5 192 horizontal_alignment = "left" 193 194 [toggle_button] 195 id = {ID} + "_sound" 196 definition = "default" 197 [/toggle_button] 198 [/column] 199 200 [column] 201 grow_factor = 0 202 203 border = "all" 204 border_size = 5 205 horizontal_alignment = "left" 206 207 [toggle_button] 208 id = {ID} + "_notif" 209 definition = "default" 210 [/toggle_button] 211 [/column] 212 213 [column] 214 grow_factor = 0 215 216 border = "all" 217 border_size = 5 218 horizontal_alignment = "left" 219 220 [toggle_button] 221 id = {ID} + "_lobby" 222 definition = "default" 223 [/toggle_button] 224 [/column] 225 [/row] 226#enddef 227 228#define _GUI_PREFERENCES_MP_PAGE_2 229 [row] 230 grow_factor = 1 231 [column] 232 horizontal_grow = true 233 234 [grid] 235 [row] 236 [column] 237 border = "all" 238 border_size = 5 239 horizontal_grow = true 240 241 [text_box] 242 id = "friend_name_box" 243 definition = "default" 244 [/text_box] 245 [/column] 246 [/row] 247 248 [row] 249 [column] 250 horizontal_grow = true 251 [grid] 252 [row] 253 grow_factor = 1 254 255 [column] 256 grow_factor = 0 257 border = "all" 258 border_size = 5 259 horizontal_grow = true 260 261 [button] 262 id = "add_friend" 263 label = _ "Add Friend" 264 tooltip = _ "Add this username to your friends list (add optional notes, e.g., 'player_name notes on friend')" 265 [/button] 266 [/column] 267 268 [column] 269 grow_factor = 0 270 border = "all" 271 border_size = 5 272 horizontal_grow = true 273 274 [button] 275 id = "add_ignored" 276 label = _ "Block" 277 tooltip = _ "Add this username to your ignore list (add optional reason, e.g., 'player_name reason ignored')" 278 [/button] 279 [/column] 280 281 [column] 282 grow_factor = 1 283 border = "all" 284 border_size = 5 285 horizontal_alignment = "right" 286 287 [button] 288 id = "remove" 289 label = _ "Remove" 290 tooltip = _ "Remove this username from your list" 291 [/button] 292 [/column] 293 [/row] 294 295 [/grid] 296 [/column] 297 [/row] 298 299 {_GUI_PREFERENCES_SPACER_ROW} 300 301 [row] 302 303 [column] 304 horizontal_grow = true 305 border = "left,right" 306 border_size = 5 307 308 [label] 309 id = "no_friends_notice" 310 definition = "default_small" 311 label = _ "You have not befriended or ignored any other players." 312 [/label] 313 314 [/column] 315 316 [/row] 317 318 [row] 319 grow_factor = 1 320 321 [column] 322 border = "all" 323 border_size = 5 324 horizontal_grow = true 325 326 [listbox] 327 id = "friends_list" 328 definition = "default" 329 [list_definition] 330 [row] 331 [column] 332 vertical_grow = true 333 horizontal_grow = true 334 [toggle_panel] 335 definition = "default" 336 [grid] 337 [row] 338 [column] 339 grow_factor = 0 340 horizontal_alignment = "left" 341 border = "all" 342 border_size = 5 343 344 [image] 345 id = "friend_icon" 346 definition = "default" 347 [/image] 348 [/column] 349 350 [column] 351 grow_factor = 1 352 horizontal_grow = true 353 border = "all" 354 border_size = 5 355 356 [label] 357 id = "friend_name" 358 definition = "default" 359 linked_group = "friends" 360 [/label] 361 [/column] 362 363 [column] 364 grow_factor = 1 365 horizontal_alignment = "right" 366 border = "all" 367 border_size = 5 368 369 [label] 370 id = "friend_status" 371 definition = "default" 372 [/label] 373 [/column] 374 [/row] 375 [/grid] 376 [/toggle_panel] 377 [/column] 378 [/row] 379 [/list_definition] 380 [/listbox] 381 [/column] 382 [/row] 383 [/grid] 384 [/column] 385 [/row] 386#enddef 387 388#define _GUI_PREFERENCES_MP_SWITCH_ROW 389 [row] 390 [column] 391 border = "all" 392 border_size = 5 393 horizontal_alignment = "left" 394 395 {_GUI_PREFS_TAB_BAR ( 396 [row] 397 398 [column] 399 400 [widget] 401 id = "tab_label" 402 label = _ "General" 403 [/widget] 404 405 [/column] 406 407 [/row] 408 409 [row] 410 411 [column] 412 413 [widget] 414 id = "tab_label" 415 label = _ "Friends" 416 [/widget] 417 418 [/column] 419 420 [/row] 421 )} 422 [/column] 423 [/row] 424#enddef 425 426[layer] 427 [row] 428 grow_factor = 1 429 [column] 430 horizontal_grow = true 431 vertical_grow = true 432 433 {_GUI_PREFS_TAB_PAGER ( 434 [layer] 435 [row] 436 [column] 437 horizontal_grow = true 438 vertical_alignment = "top" 439 440 [grid] 441 {_GUI_PREFERENCES_MP_PAGE_1_GRID_1} 442 [/grid] 443 [/column] 444 [/row] 445 446 [row] 447 [column] 448 horizontal_alignment = "left" 449 vertical_alignment = "bottom" 450 451 [grid] 452 {_GUI_PREFERENCES_MP_PAGE_1_GRID_2} 453 [/grid] 454 [/column] 455 [/row] 456 [/layer] 457 458 [layer] 459 [row] 460 [column] 461 horizontal_grow = true 462 vertical_alignment = "top" 463 464 [grid] 465 {_GUI_PREFERENCES_MP_PAGE_2} 466 [/grid] 467 [/column] 468 [/row] 469 [/layer] 470 )} 471 472 [/column] 473 [/row] 474 475 [row] 476 [column] 477 horizontal_alignment = "left" 478 vertical_alignment = "bottom" 479 480 [grid] 481 {_GUI_PREFERENCES_MP_SWITCH_ROW} 482 [/grid] 483 [/column] 484 [/row] 485[/layer] 486 487#undef _GUI_PREFERENCES_MP_PAGE_1_GRID_1 488#undef _GUI_PREFERENCES_MP_PAGE_1_GRID_2 489#undef _GUI_PREFERENCES_MP_PAGE_2 490#undef _GUI_PREFERENCES_MP_SWITCH_ROW 491#undef _GUI_LOBBY_SOUNDS_ENTRY 492