summaryrefslogtreecommitdiff
path: root/src/language.cpp
AgeCommit message (Collapse)Author
2025-03-02Return references instead of pointers from the config system.Sadie Powell
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-11-13Add support for plural form translation.Sadie Powell
Closes #340.
2024-11-11Merge branch '2.0' into 2.1.Sadie Powell
2024-11-11Fix using User::Account where User::IsIdentified should be used.Sadie Powell
The former causes a dereference which cause a database update. This is not good for performance with db_sql_live on bigger networks.
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-12Use the default CMake modules for finding gettext instead of our own.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-09-28Fix musl build (gettext internals)Sam James (sam_c)
__USE_GNU_GETTEXT is exposed by musl because they provide a GNU gettext-compatible interface. This doesn't mean they provide all the internals that glibc does. Check for __GLIBC__ if using internal _nl_msg_cat_cntr. Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-03-08language: incrementing _nl_msg_cat_cntr is still required on some systems ↵Adam
apparently (freebsd 10?). I don't know why.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-07-08Fix a ton of typos.Peter Powell
2014-05-31Update FindGettext.cmake for new Windows stuff and fix language.cppAdam
compile
2014-05-21Fix deflanguage from 4034b3054aaff28da1db5545063cf8b3c2e8aa24, this ↵Adam
shouldn't have been removed
2014-05-20Add English language file which users can edit to modify language stringsAdam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-11-23Fix/clean/clarify some stuff found by coverity scanAdam
2013-06-12Allow users to change their language to english when the default language is notAdam
2013-05-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-12-15Made all langauges default to the UTF-8 charsetAdam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-09-10Fixed gettext on freebsd/any other system that uses LANG not LANGUAGEAdam
2012-05-06Split up db/conf/lib/locale install directories, and allow alternate ones to ↵Adam
be specified at runtime
2012-04-23Reworked live SQL support yet againAdam
2012-02-14Clean up and reorganize our header filesAdam
2011-07-14Rewrote how commands are handled within Anope.Adam
This allows naming commands and having spaces within command names.
2011-06-17Search all domains for language strings, fixes the mess that we used to use ↵Adam
to translate strings in 3rd party modules
2011-06-14Fixed a few small thingsAdam
2011-06-13changed some _() to gtl() and updated do_strftime() and duration()DukePyrolator
2011-03-30Fixed bug #1258, more Windows stuff, and more language stringsAdam
2011-03-13Set the locale to the default system locale on startupDukePyrolator
2011-02-26Replaced the few language strings we use with #defines to prevent ↵Adam
accidentally translating them if we shouldnt
2011-02-25More fixes. Also made db_mysql_live not keep bots updated because thats ↵Adam
pointless and made m_asynch_commands respect user language settings.
2011-02-11Made the help command description code more saneAdam
2011-02-04Moved the language strings which are only used onceAdam
out of the core and into the modules that use them.
2011-01-21fixed some minor presentation, grammar mis-use and copyright date in DP's ngircdlethality
2011-01-18Added amsg kicker settings to /bs infoAdam
2011-01-17Added ns_ajoinAdam