From 8609e7ed2cedf28aa655e5b3f15f130558dd8d4c Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 17 Jun 2024 06:44:09 -0700 Subject: refactor: remove file header --- src/modules/router/module.rs | 18 ------------------ src/modules/router/ticker.rs | 18 ------------------ src/modules/router/translate.rs | 18 ------------------ src/modules/router/translate/deepl.rs | 18 ------------------ src/modules/router/translate/module.rs | 18 ------------------ 5 files changed, 90 deletions(-) (limited to 'src/modules/router') diff --git a/src/modules/router/module.rs b/src/modules/router/module.rs index a9539e4..7ea18f4 100644 --- a/src/modules/router/module.rs +++ b/src/modules/router/module.rs @@ -1,21 +1,3 @@ -// This file is part of Locus . -// Copyright (C) 2022-2022 Fuwn -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, version 3. -// -// 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 -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// -// Copyright (C) 2022-2022 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use { crate::route::{CACHE_RATE, ROUTES}, std::sync::{LazyLock, Mutex}, diff --git a/src/modules/router/ticker.rs b/src/modules/router/ticker.rs index a5384db..38b7499 100644 --- a/src/modules/router/ticker.rs +++ b/src/modules/router/ticker.rs @@ -1,21 +1,3 @@ -// This file is part of Locus . -// Copyright (C) 2022-2022 Fuwn -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, version 3. -// -// 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 -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// -// Copyright (C) 2022-2022 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use crate::DATABASE; pub fn module(context: &windmark::context::HookContext) { diff --git a/src/modules/router/translate.rs b/src/modules/router/translate.rs index 8f24a9b..01d2dc3 100644 --- a/src/modules/router/translate.rs +++ b/src/modules/router/translate.rs @@ -1,21 +1,3 @@ -// This file is part of Locus . -// Copyright (C) 2022-2022 Fuwn -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, version 3. -// -// 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 -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// -// Copyright (C) 2022-2022 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - mod deepl; mod module; diff --git a/src/modules/router/translate/deepl.rs b/src/modules/router/translate/deepl.rs index 9398118..950ab89 100644 --- a/src/modules/router/translate/deepl.rs +++ b/src/modules/router/translate/deepl.rs @@ -1,21 +1,3 @@ -// This file is part of Locus . -// Copyright (C) 2022-2022 Fuwn -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, version 3. -// -// 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 -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// -// Copyright (C) 2022-2022 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - #[derive(serde::Deserialize)] pub struct DeepL { translations: Vec, diff --git a/src/modules/router/translate/module.rs b/src/modules/router/translate/module.rs index aa46956..11169ef 100644 --- a/src/modules/router/translate/module.rs +++ b/src/modules/router/translate/module.rs @@ -1,21 +1,3 @@ -// This file is part of Locus . -// Copyright (C) 2022-2022 Fuwn -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, version 3. -// -// 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 -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// -// Copyright (C) 2022-2022 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use super::deepl::translate; use crate::modules::router::translate::deepl::language_code_to_language_name; -- cgit v1.2.3