From 91a55aeea328558b64c2460917bac50278224425 Mon Sep 17 00:00:00 2001 From: y5nw <37980625+y5nw@users.noreply.github.com> Date: Sun, 15 Sep 2024 20:13:17 +0200 Subject: [PATCH] shorter license headers --- src/gettext_plural_form.cpp | 20 ++------------------ src/gettext_plural_form.h | 20 ++------------------ src/unittest/test_translations.cpp | 20 ++------------------ 3 files changed, 6 insertions(+), 54 deletions(-) diff --git a/src/gettext_plural_form.cpp b/src/gettext_plural_form.cpp index 75fa4f106d526..7db074a8c3ce2 100644 --- a/src/gettext_plural_form.cpp +++ b/src/gettext_plural_form.cpp @@ -1,21 +1,5 @@ -/* -Minetest -Copyright (C) 2024 y5nw - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation; either version 2.1 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ +// Minetest +// SPDX-License-Identifier: LGPL-2.1-or-later/ #include "gettext_plural_form.h" #include "util/string.h" diff --git a/src/gettext_plural_form.h b/src/gettext_plural_form.h index 2a4fda29a5910..a6fbf3c3f3b28 100644 --- a/src/gettext_plural_form.h +++ b/src/gettext_plural_form.h @@ -1,21 +1,5 @@ -/* -Minetest -Copyright (C) 2024 y5nw - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation; either version 2.1 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ +// Minetest +// SPDX-License-Identifier: LGPL-2.1-or-later/ #pragma once #include diff --git a/src/unittest/test_translations.cpp b/src/unittest/test_translations.cpp index 620a2b88d3695..f99c7bd2ab9d7 100644 --- a/src/unittest/test_translations.cpp +++ b/src/unittest/test_translations.cpp @@ -1,21 +1,5 @@ -/* -Minetest -Copyright (C) 2024 y5nw - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation; either version 2.1 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ +// Minetest +// SPDX-License-Identifier: LGPL-2.1-or-later/ #include "translation.h" #include "filesys.h"