1
0
mirror of https://github.com/anope/anope.git synced 2026-06-16 20:54:46 +02:00

Compare commits

...

26 Commits

Author SHA1 Message Date
Sadie Powell 03eead042c Release 2.0.13. 2023-06-01 23:12:07 +01:00
Sadie Powell b1fff640dd Update the changelogs. 2023-05-30 16:07:54 +01:00
Dragone2 f251ca6373 Small fixes to the Italian translation. 2023-05-29 21:33:59 +01:00
Adam 24a2c51003 CMakeLists.txt: remove -fno-delete-null-pointer-checks 2023-05-28 21:26:03 -04:00
Adam 66f37139cb regchannels: remove dependency on no-delete-null-pointer-checks 2023-05-28 21:26:03 -04:00
Adam 0646547c9e config: remove dependency on no-delete-null-pointer-checks 2023-05-28 21:25:59 -04:00
Sadie Powell 41206b991e Fix not being able to log into oper accounts when DNS fails. 2023-05-11 13:05:39 +01:00
Sadie Powell b7abfe5eca Avoid returning null when a config tag does not exist.
This invokes undefined behaviour on modern compilers.
2023-05-04 19:21:02 +01:00
Hendrik Jäger 23e7f5bd33 update: german translation 2023-04-21 22:30:18 +01:00
Dragone2 df9dfeae95 Update the Italian translation.
Ref: #309
2023-04-04 16:59:59 +01:00
henk84 e68a41a91e Make language/update.sh safer, faster, cleaner.
Ref: #308

Co-authored-by: Hendrik Jäger <gitcommit@henk.geekmail.org>
2023-03-06 12:01:46 +00:00
henk84 26f846e112 Document how to update a translation.
Ref: #307

Co-authored-by: Hendrik Jäger <gitcommit@henk.geekmail.org>
2023-02-26 23:09:30 +00:00
henk84 f1fbe9e629 Update some german translations.
Ref: #306

Co-authored-by: Hendrik Jäger <gitcommit@henk.geekmail.org>
2023-02-26 23:05:28 +00:00
Sadie Powell 1c9b34190e Update the en_US translation. 2023-02-19 11:14:37 +00:00
Sadie Powell a5d4aa5821 Remove line numbers from the translation files.
The translations are updated so infrequently that these always
change a bunch and it makes reading the diffs really hard.
2023-02-19 11:12:37 +00:00
Hendrik Jäger 9b583961b0 Update german translation 2023-02-18 21:48:53 +00:00
Bram Matthys fef0cc1c29 unreal4: set vhost/vident during SASL 2023-02-09 16:05:50 +00:00
Sadie Powell f0ad0b4f0a Raise the default session limit from 3 to 5. 2023-02-06 17:12:35 +00:00
Sadie Powell dc1d9c837b Fix crashing when encountering an unterminated commented block. 2023-02-06 17:10:29 +00:00
Sadie Powell 33a337dfc0 Update the copyright headers for 2023. 2022-12-31 22:08:50 +00:00
Sadie Powell b64dc09bd2 Fix marking services pseudoclients as an oper on InspIRCd.
The bot user needs to be marked as introduced in order to send an
oper type.
2022-12-31 21:55:05 +00:00
Sadie Powell fee60c8e06 The fantasy:name field is allowed to contain spaces. 2022-12-18 10:36:59 +00:00
Sadie Powell 3f867c1e11 Show the invalid config value in the rejection message. 2022-12-18 10:35:11 +00:00
dependabot[bot] 2f46739931 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-17 15:59:28 +00:00
Sadie Powell 6eec018c34 Allow Dependabot to keep our GitHub CI up to date. 2022-12-17 15:57:37 +00:00
Sadie Powell e78db21180 Mark as 2.0.13-git. 2022-12-09 08:33:02 +00:00
365 changed files with 2265 additions and 26869 deletions
+6
View File
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
CXX: ${{ matrix.compiler }}
CXXFLAGS: -std=${{ matrix.standard }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update --assume-yes
-3
View File
@@ -87,9 +87,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
if(GCC_VERSION LESS 4.2)
message(FATAL_ERROR "Your compiler is too old to build Anope. Upgrade to GCC 4.2 or newer!")
endif(GCC_VERSION LESS 4.2)
if(GCC_VERSION GREATER 6.0 OR GCC_VERSION EQUAL 6.0)
set(CXXFLAGS "${CXXFLAGS} -fno-delete-null-pointer-checks")
endif(GCC_VERSION GREATER 6.0 OR GCC_VERSION EQUAL 6.0)
endif(CMAKE_COMPILER_IS_GNUCXX)
# If we are using a GNU compiler (have to use CXX because it seems to fail on C), we will be able to determine it's default paths for libraries and includes
+1 -1
View File
@@ -2,7 +2,7 @@
#
# Configuration script for Services.
#
# Anope (C) 2003-2022 Anope Team
# Anope (C) 2003-2023 Anope Team
# Contact us at team@anope.org
#
# This program is free but copyrighted software; see the file COPYING for
+1 -1
View File
@@ -559,7 +559,7 @@ module
*
* This directive is required if os_session is loaded.
*/
defaultsessionlimit = 3
defaultsessionlimit = 5
/*
* The maximum session limit that may be set for a host in an exception.
+11
View File
@@ -1,3 +1,14 @@
Anope Version 2.0.13
--------------------
Fixed a crash on some compilers when trying to call methods on a null pointer
Fixed a crash when encountering an unterminated commented config block
Fixed erroneously rejecting spaces in fantasy:name
Fixed marking services pseudoclients as an oper on InspIRCd
Fixed not checking user@ip as well as user@host when logging into an operator account
Fixed setting the vhost/vident during SASL on UnrealIRCd
Updated the German translation
Updated the Italian translation
Anope Version 2.0.12
--------------------
Added account confirmation to the web panel
+4
View File
@@ -1,3 +1,7 @@
Anope Version 2.0.13
--------------------
No significant changes.
Anope Version 2.0.12
--------------------
Added the regex_pcre2 module
+12
View File
@@ -4,6 +4,7 @@ Anope Multi Language Support
1) Building Anope with gettext support
2) Adding a new language
3) Using languages with modules
4) Updating a language file
1) Building Anope with gettext support
@@ -51,3 +52,14 @@ Anope Multi Language Support
All .po and .pot files should be placed in modules/third/language. Additionally an update script is provided there
that will create .pot files and merge any changes to it with existing .po files.
4) Updating a language file
Poedit (https://poedit.net/) is a popular po file editor, and we recommend using it or another editor designed to edit
po files (especially on Windows).
Before editing the relevant file in languages/, run `update.sh` in the languages/ folder, i.e. `cd` to it and run
./update.sh
This will update the language file to contain all strings that need a translation.
Then commit only the changed .po files in git.
+1 -1
View File
@@ -1,7 +1,7 @@
Anope -- a set of IRC services for IRC networks
-----------------------------------------------
Anope is 2003-2022 Anope Team <team@anope.org>.
Anope is 2003-2023 Anope Team <team@anope.org>.
Based on Epona 2000-2002 PegSoft <epona@pegsoft.net>.
Based on Services 1996-1999 Andrew Church <achurch@achurch.org>.
+1 -1
View File
@@ -3,7 +3,7 @@
/**
* XMLRPC Functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*/
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/*
*
* (C) 2008-2011 Adam <Adam@anope.org>
* (C) 2008-2022 Anope Team <team@anope.org>
* (C) 2008-2023 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*/
+1 -1
View File
@@ -1,7 +1,7 @@
/*
*
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
* (C) 2008-2022 Anope Team <team@anope.org>
* (C) 2008-2023 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*/
+6 -1
View File
@@ -1,6 +1,6 @@
/* Channel support
*
* (C) 2008-2022 Anope Team
* (C) 2008-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
@@ -289,6 +289,11 @@ class CoreExport Channel : public Base, public Extensible
*/
bool CheckKick(User *user);
/** Find which bot should send mode/topic/etc changes for this channel
* @return The bot
*/
BotInfo *WhoSends() const;
/** Finds a channel
* @param name The channel to find
* @return The channel, if found
+1 -1
View File
@@ -1,6 +1,6 @@
/* Declarations for command data.
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+16 -6
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
@@ -20,9 +20,11 @@
namespace Configuration
{
namespace Internal
{
class CoreExport Block
{
friend struct Conf;
friend struct Configuration::Conf;
public:
typedef Anope::map<Anope::string> item_map;
@@ -34,13 +36,17 @@ namespace Configuration
block_map blocks;
int linenum;
/* Represents a missing tag. */
static Block EmptyBlock;
public:
Block(const Anope::string &);
const Anope::string &GetName() const;
int CountBlock(const Anope::string &name);
Block* GetBlock(const Anope::string &name, int num = 0);
int CountBlock(const Anope::string &name) const;
const Block* GetBlock(const Anope::string &name, int num = 0) const;
Block* GetMutableBlock(const Anope::string &name, int num = 0);
template<typename T> inline T Get(const Anope::string &tag)
template<typename T> inline T Get(const Anope::string &tag) const
{
return this->Get<T>(tag, "");
}
@@ -66,6 +72,10 @@ namespace Configuration
template<> CoreExport const Anope::string Block::Get(const Anope::string &tag, const Anope::string& def) const;
template<> CoreExport time_t Block::Get(const Anope::string &tag, const Anope::string &def) const;
template<> CoreExport bool Block::Get(const Anope::string &tag, const Anope::string &def) const;
} // namespace Internal
typedef const Internal::Block Block;
typedef Internal::Block MutableBlock;
/** Represents a configuration file
*/
@@ -140,7 +150,7 @@ namespace Configuration
BotInfo *GetClient(const Anope::string &name);
Block *GetCommand(CommandSource &);
const Block *GetCommand(CommandSource &);
};
struct Uplink
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/*
*
* (C) 2002-2011 InspIRCd Development Team
* (C) 2009-2022 Anope Team <team@anope.org>
* (C) 2009-2023 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*/
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2008-2022 Anope Team
* (C) 2008-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/* Mode support
*
* (C) 2008-2011 Adam <Adam@anope.org>
* (C) 2008-2022 Anope Team <team@anope.org>
* (C) 2008-2023 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*/
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Modular support
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2012-2022 Anope Team
* (C) 2012-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2011-2022 Anope Team
* (C) 2011-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* NickServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2011-2022 Anope Team
* (C) 2011-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* OperServ ignore interface
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2011-2022 Anope Team
* (C) 2011-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2011-2022 Anope Team
* (C) 2011-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2011-2022 Anope Team
* (C) 2011-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2011-2022 Anope Team
* (C) 2011-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2011-2022 Anope Team
* (C) 2011-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2011-2022 Anope Team
* (C) 2011-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2014-2022 Anope Team
* (C) 2014-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2010-2022 Anope Team
* (C) 2010-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2010-2022 Anope Team
* (C) 2010-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/*
*
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
* (C) 2008-2022 Anope Team <team@anope.org>
* (C) 2008-2023 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*/
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2008-2022 Anope Team
* (C) 2008-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* Timer include stuff.
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,7 +1,7 @@
/*
*
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
* (C) 2003-2022 Anope Team <team@anope.org>
* (C) 2003-2023 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*
+1 -1
View File
@@ -1,6 +1,6 @@
/* Build bumper
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2008-2022 Anope Team
* (C) 2008-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
File diff suppressed because it is too large Load Diff
+617 -2541
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+139 -2181
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+950 -3087
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+41 -9
View File
@@ -1,16 +1,48 @@
#!/bin/bash
#!/bin/sh
rm -f anope.pot
touch anope.pot
if [ "${PWD##*/}" != "language" ]
then
echo "Please run this script in the language/ subfolder of an anope source tree."
exit 1
fi
cd ..
FILES=`find ./ -name *.cpp -o -name *.h -o -name *.conf | grep -v /modules/third/`
xgettext -E -C -s -d Anope -j -o language/anope.pot --from-code=utf-8 --keyword --keyword=_ $FILES
cd -
# truncate
: > anope.pot
# find .cpp, .h, and .conf files
# exclude docs and third party modules
# run xgettext on found files
find ../ \
! -path '../docs/*' \
-a ! -path '../modules/third/*' \
-a \( -name '*.cpp' \
-o -name '*.h' \
-o -name '*.conf' \
\) \
-exec \
xgettext \
--escape \
--language=C++ \
--sort-output \
--default-domain=Anope \
--join-existing \
--output=anope.pot \
--from-code=utf-8 \
--keyword \
--keyword=_ \
{} +
for f in *.po
do
msgmerge -v -s -U $f `echo $f | cut -d'.' -f1`.pot
echo "Merging $f"
msgmerge \
--no-location \
--no-wrap \
--sort-output \
--update \
--verbose \
"${f}" \
"${f%%.*}.pot"
done
rm -f *~
rm -f -- *~
+1 -1
View File
@@ -1,6 +1,6 @@
/*
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* BotServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
+1 -1
View File
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
* (C) 2003-2022 Anope Team
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Original Coder: GeniusDex <geniusdex@anope.org>

Some files were not shown because too many files have changed in this diff Show More