diff config.quotedb.example @ 283:5b997bee1745

quotedb: Move various message texts to configuration file. Not everything yet.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 23 Jan 2015 13:20:17 +0200
parents e04f434b7023
children 329ceff76d0c
line wrap: on
line diff
--- a/config.quotedb.example	Fri Jan 23 12:32:06 2015 +0200
+++ b/config.quotedb.example	Fri Jan 23 13:20:17 2015 +0200
@@ -28,7 +28,10 @@
 # (Valid alternatives are "PRIVMSG" and "NOTICE")
 set qdb_preferredmsg "PRIVMSG"
 
-# Foo.
+
+###
+### Search/command related settings
+###
 set qdb_max_deltime 15
 set qdb_max_modtime 30
 
@@ -41,6 +44,38 @@
 
 
 ###
+### Messages
+###
+
+set qdb_msg_invalid_user "Pyh."
+
+set qdb_msg_quote_does_not_exist "Quotea #%1 ei ole."
+
+set qdb_msg_no_matches "Ei löydy!"
+
+set qdb_msg_you_voted "Äänestit %1 -> %2"
+set qdb_msg_vote_updated "Ääni päivitetty #%1 -> %2"
+
+set qdb_msg_sql_error "Virhe sörkittäessä tietokantaa. uliskaa."
+set qdb_msg_add_success "Tietokantaa %1 sörkitty (#%2), kiitos."
+
+set qdb_msg_search_fmt "#%1: %2 (%3@%5)"
+
+set qdb_msg_toplist_limit "Top-listan määrän oltava %1-%2."
+set qdb_msg_toplist_fmt "%1. #%2: %3 (%4, %5)"
+
+set qdb_msg_update_override " (owner/time override)"
+set qdb_msg_update_ok "%1 #%2 päivitetty%3."
+
+set qdb_msg_update_too_old "%1 quote #%2 vanhempi kuin %3 minuuttia, ei voida päivittää."
+
+set qdb_msg_not_found "%1 #%2 ei löydy, tai se ei kuulu käyttäjälle '%3'."
+
+
+set qdb_msg_help "%1 add <teksti>|update <id> <teksti>|del <id>|find <parametrit>|vote|top3"
+
+
+###
 ### Bind commands for each database etc.
 ###