From 7fa2dd535ffae2892908b1db673f12eb63e648ae Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Tue, 9 Jul 2024 07:51:54 -0700 Subject: [PATCH] remove all duplicated license headers --- src/gui/src/UI/Components/ActionCard.js | 19 +------------------ src/gui/src/UI/Components/Button.js | 19 +------------------ src/gui/src/UI/Components/CodeEntryView.js | 19 +------------------ .../src/UI/Components/ConfirmationsView.js | 19 +------------------ src/gui/src/UI/Components/Flexer.js | 19 +------------------ src/gui/src/UI/Components/Frame.js | 19 +------------------ src/gui/src/UI/Components/Glyph.js | 19 +------------------ src/gui/src/UI/Components/JustHTML.js | 19 +------------------ src/gui/src/UI/Components/NotifCard.js | 19 +------------------ src/gui/src/UI/Components/PasswordEntry.js | 19 +------------------ src/gui/src/UI/Components/QRCode.js | 19 +------------------ .../UI/Components/RecoveryCodeEntryView.js | 19 +------------------ .../src/UI/Components/RecoveryCodesView.js | 19 +------------------ src/gui/src/UI/Components/Slider.js | 19 +------------------ src/gui/src/UI/Components/Spinner.js | 19 +------------------ src/gui/src/UI/Components/StepHeading.js | 19 +------------------ src/gui/src/UI/Components/StepView.js | 19 +------------------ src/gui/src/UI/Components/StringView.js | 19 +------------------ src/gui/src/UI/Components/Table.js | 19 +------------------ src/gui/src/UI/Components/TestView.js | 19 +------------------ src/gui/src/UI/Settings/UITabAccount.js | 19 +------------------ src/gui/src/UI/Settings/UITabClock.js | 19 +------------------ src/gui/src/UI/Settings/UITabLanguage.js | 19 +------------------ .../src/UI/Settings/UITabPersonalization.js | 19 +------------------ src/gui/src/definitions.js | 19 +------------------ src/gui/src/helpers/truncate_filename.js | 19 +------------------ src/gui/src/i18n/i18n.js | 19 +------------------ src/gui/src/i18n/i18nChangeLanguage.js | 19 +------------------ src/gui/src/i18n/translations/bn.js | 19 +------------------ src/gui/src/i18n/translations/br.js | 19 +------------------ src/gui/src/i18n/translations/da.js | 19 +------------------ src/gui/src/i18n/translations/de.js | 19 +------------------ src/gui/src/i18n/translations/emoji.js | 19 +------------------ src/gui/src/i18n/translations/en.js | 19 +------------------ src/gui/src/i18n/translations/es.js | 19 +------------------ src/gui/src/i18n/translations/fa.js | 19 +------------------ src/gui/src/i18n/translations/fi.js | 19 +------------------ src/gui/src/i18n/translations/fr.js | 19 +------------------ src/gui/src/i18n/translations/hi.js | 19 +------------------ src/gui/src/i18n/translations/hy.js | 19 +------------------ src/gui/src/i18n/translations/ig.js | 19 +------------------ src/gui/src/i18n/translations/it.js | 19 +------------------ src/gui/src/i18n/translations/ko.js | 19 +------------------ src/gui/src/i18n/translations/nb.js | 19 +------------------ src/gui/src/i18n/translations/nl.js | 19 +------------------ src/gui/src/i18n/translations/nn.js | 19 +------------------ src/gui/src/i18n/translations/pl.js | 19 +------------------ src/gui/src/i18n/translations/pt.js | 19 +------------------ src/gui/src/i18n/translations/ro.js | 19 +------------------ src/gui/src/i18n/translations/ru.js | 19 +------------------ src/gui/src/i18n/translations/sv.js | 19 +------------------ src/gui/src/i18n/translations/th.js | 19 +------------------ src/gui/src/i18n/translations/tr.js | 19 +------------------ src/gui/src/i18n/translations/translations.js | 19 +------------------ src/gui/src/i18n/translations/ua.js | 19 +------------------ src/gui/src/i18n/translations/ur.js | 19 +------------------ src/gui/src/i18n/translations/zh.js | 19 +------------------ src/gui/src/i18n/translations/zhtw.js | 19 +------------------ src/gui/src/index.js | 19 +------------------ src/gui/src/initgui.js | 19 +------------------ src/gui/src/services/BroadcastService.js | 19 +------------------ src/gui/src/services/ThemeService.js | 19 +------------------ 62 files changed, 62 insertions(+), 1116 deletions(-) diff --git a/src/gui/src/UI/Components/ActionCard.js b/src/gui/src/UI/Components/ActionCard.js index d53376d89..dc115b2a0 100644 --- a/src/gui/src/UI/Components/ActionCard.js +++ b/src/gui/src/UI/Components/ActionCard.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class ActionCard extends Component { diff --git a/src/gui/src/UI/Components/Button.js b/src/gui/src/UI/Components/Button.js index a17464899..bd72d05e2 100644 --- a/src/gui/src/UI/Components/Button.js +++ b/src/gui/src/UI/Components/Button.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class Button extends Component { diff --git a/src/gui/src/UI/Components/CodeEntryView.js b/src/gui/src/UI/Components/CodeEntryView.js index 90a406775..534296077 100644 --- a/src/gui/src/UI/Components/CodeEntryView.js +++ b/src/gui/src/UI/Components/CodeEntryView.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class CodeEntryView extends Component { diff --git a/src/gui/src/UI/Components/ConfirmationsView.js b/src/gui/src/UI/Components/ConfirmationsView.js index b29ad486b..b94a1fd23 100644 --- a/src/gui/src/UI/Components/ConfirmationsView.js +++ b/src/gui/src/UI/Components/ConfirmationsView.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/gui/src/UI/Components/Flexer.js b/src/gui/src/UI/Components/Flexer.js index 3e41bc667..c3404b2b1 100644 --- a/src/gui/src/UI/Components/Flexer.js +++ b/src/gui/src/UI/Components/Flexer.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/gui/src/UI/Components/Frame.js b/src/gui/src/UI/Components/Frame.js index d74eb1faa..581481f3a 100644 --- a/src/gui/src/UI/Components/Frame.js +++ b/src/gui/src/UI/Components/Frame.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class Frame extends Component { diff --git a/src/gui/src/UI/Components/Glyph.js b/src/gui/src/UI/Components/Glyph.js index b357093a1..39f6c1455 100644 --- a/src/gui/src/UI/Components/Glyph.js +++ b/src/gui/src/UI/Components/Glyph.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + import { Component } from "../../util/Component.js"; export default def(class Glyph extends Component { diff --git a/src/gui/src/UI/Components/JustHTML.js b/src/gui/src/UI/Components/JustHTML.js index fcf97e56d..5fe51a129 100644 --- a/src/gui/src/UI/Components/JustHTML.js +++ b/src/gui/src/UI/Components/JustHTML.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/gui/src/UI/Components/NotifCard.js b/src/gui/src/UI/Components/NotifCard.js index 0db91e177..9f71a8b4b 100644 --- a/src/gui/src/UI/Components/NotifCard.js +++ b/src/gui/src/UI/Components/NotifCard.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class NotifCard extends Component { diff --git a/src/gui/src/UI/Components/PasswordEntry.js b/src/gui/src/UI/Components/PasswordEntry.js index 9b5adf48a..82e59fc55 100644 --- a/src/gui/src/UI/Components/PasswordEntry.js +++ b/src/gui/src/UI/Components/PasswordEntry.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class PasswordEntry extends Component { diff --git a/src/gui/src/UI/Components/QRCode.js b/src/gui/src/UI/Components/QRCode.js index 6a9f3524b..e724690bd 100644 --- a/src/gui/src/UI/Components/QRCode.js +++ b/src/gui/src/UI/Components/QRCode.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); import UIComponentWindow from "../UIComponentWindow.js"; diff --git a/src/gui/src/UI/Components/RecoveryCodeEntryView.js b/src/gui/src/UI/Components/RecoveryCodeEntryView.js index cb51f7d95..e8b21182d 100644 --- a/src/gui/src/UI/Components/RecoveryCodeEntryView.js +++ b/src/gui/src/UI/Components/RecoveryCodeEntryView.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class RecoveryCodeEntryView extends Component { diff --git a/src/gui/src/UI/Components/RecoveryCodesView.js b/src/gui/src/UI/Components/RecoveryCodesView.js index 30dfd8237..9e57c8a18 100644 --- a/src/gui/src/UI/Components/RecoveryCodesView.js +++ b/src/gui/src/UI/Components/RecoveryCodesView.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class RecoveryCodesView extends Component { diff --git a/src/gui/src/UI/Components/Slider.js b/src/gui/src/UI/Components/Slider.js index 098957625..112bfd94a 100644 --- a/src/gui/src/UI/Components/Slider.js +++ b/src/gui/src/UI/Components/Slider.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/gui/src/UI/Components/Spinner.js b/src/gui/src/UI/Components/Spinner.js index 99cf804d1..89d8a2703 100644 --- a/src/gui/src/UI/Components/Spinner.js +++ b/src/gui/src/UI/Components/Spinner.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class Spinner extends Component { diff --git a/src/gui/src/UI/Components/StepHeading.js b/src/gui/src/UI/Components/StepHeading.js index 58a5c1154..6aa1f2a0d 100644 --- a/src/gui/src/UI/Components/StepHeading.js +++ b/src/gui/src/UI/Components/StepHeading.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/gui/src/UI/Components/StepView.js b/src/gui/src/UI/Components/StepView.js index 2da06cc0f..cc26373ee 100644 --- a/src/gui/src/UI/Components/StepView.js +++ b/src/gui/src/UI/Components/StepView.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); export default def(class StepView extends Component { diff --git a/src/gui/src/UI/Components/StringView.js b/src/gui/src/UI/Components/StringView.js index aee602eb1..82849d46f 100644 --- a/src/gui/src/UI/Components/StringView.js +++ b/src/gui/src/UI/Components/StringView.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/gui/src/UI/Components/Table.js b/src/gui/src/UI/Components/Table.js index e02af517c..f34d060f8 100644 --- a/src/gui/src/UI/Components/Table.js +++ b/src/gui/src/UI/Components/Table.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/gui/src/UI/Components/TestView.js b/src/gui/src/UI/Components/TestView.js index 43baa5271..f92eacb2c 100644 --- a/src/gui/src/UI/Components/TestView.js +++ b/src/gui/src/UI/Components/TestView.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/gui/src/UI/Settings/UITabAccount.js b/src/gui/src/UI/Settings/UITabAccount.js index 0f2b9d862..47a027d7c 100644 --- a/src/gui/src/UI/Settings/UITabAccount.js +++ b/src/gui/src/UI/Settings/UITabAccount.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + import UIWindowChangePassword from '../UIWindowChangePassword.js'; import UIWindowChangeEmail from './UIWindowChangeEmail.js'; import UIWindowChangeUsername from '../UIWindowChangeUsername.js'; diff --git a/src/gui/src/UI/Settings/UITabClock.js b/src/gui/src/UI/Settings/UITabClock.js index 6e56c5c2d..e49530ee6 100644 --- a/src/gui/src/UI/Settings/UITabClock.js +++ b/src/gui/src/UI/Settings/UITabClock.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + // About export default { id: 'clock', diff --git a/src/gui/src/UI/Settings/UITabLanguage.js b/src/gui/src/UI/Settings/UITabLanguage.js index 4af1c2249..fbea62a27 100644 --- a/src/gui/src/UI/Settings/UITabLanguage.js +++ b/src/gui/src/UI/Settings/UITabLanguage.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + import changeLanguage from '../../i18n/i18nChangeLanguage.js'; // About diff --git a/src/gui/src/UI/Settings/UITabPersonalization.js b/src/gui/src/UI/Settings/UITabPersonalization.js index 9672ad6b8..0c50464f7 100644 --- a/src/gui/src/UI/Settings/UITabPersonalization.js +++ b/src/gui/src/UI/Settings/UITabPersonalization.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + import UIWindowThemeDialog from '../UIWindowThemeDialog.js'; import UIWindowDesktopBGSettings from '../UIWindowDesktopBGSettings.js'; diff --git a/src/gui/src/definitions.js b/src/gui/src/definitions.js index 999734124..d738066b2 100644 --- a/src/gui/src/definitions.js +++ b/src/gui/src/definitions.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + export class Service { construct (o) { this.$puter = {}; diff --git a/src/gui/src/helpers/truncate_filename.js b/src/gui/src/helpers/truncate_filename.js index 5645e381a..c8d51636e 100644 --- a/src/gui/src/helpers/truncate_filename.js +++ b/src/gui/src/helpers/truncate_filename.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + import path from '../lib/path.js'; export const DEFAULT_TRUNCATE_LENGTH = 20; diff --git a/src/gui/src/i18n/i18n.js b/src/gui/src/i18n/i18n.js index 64410b7ba..7b4f55cb4 100644 --- a/src/gui/src/i18n/i18n.js +++ b/src/gui/src/i18n/i18n.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + import translations from './translations/translations.js'; window.listSupportedLanguages = () => Object.keys(translations).map(lang => translations[lang]); diff --git a/src/gui/src/i18n/i18nChangeLanguage.js b/src/gui/src/i18n/i18nChangeLanguage.js index a5430f0cb..9a10ab0a1 100644 --- a/src/gui/src/i18n/i18nChangeLanguage.js +++ b/src/gui/src/i18n/i18nChangeLanguage.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + function changeLanguage(lang) { window.locale = lang; window.mutate_user_preferences({ diff --git a/src/gui/src/i18n/translations/bn.js b/src/gui/src/i18n/translations/bn.js index 940232093..f21028ac7 100644 --- a/src/gui/src/i18n/translations/bn.js +++ b/src/gui/src/i18n/translations/bn.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const bn = { name: "বাংলা", english_name: "Bengali", diff --git a/src/gui/src/i18n/translations/br.js b/src/gui/src/i18n/translations/br.js index 1c8c0acf9..e46761a82 100644 --- a/src/gui/src/i18n/translations/br.js +++ b/src/gui/src/i18n/translations/br.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const br = { name: "Português (Brasil)", english_name: "Portuguese (Brazil)", diff --git a/src/gui/src/i18n/translations/da.js b/src/gui/src/i18n/translations/da.js index be0934631..bbba3ca42 100644 --- a/src/gui/src/i18n/translations/da.js +++ b/src/gui/src/i18n/translations/da.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const da = { name: "Dansk", english_name: "Danish", diff --git a/src/gui/src/i18n/translations/de.js b/src/gui/src/i18n/translations/de.js index ecd95e7b3..7b77e09b9 100644 --- a/src/gui/src/i18n/translations/de.js +++ b/src/gui/src/i18n/translations/de.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const de = { name: "Deutsch", english_name: "German", diff --git a/src/gui/src/i18n/translations/emoji.js b/src/gui/src/i18n/translations/emoji.js index ad3017ab0..04ac847ad 100644 --- a/src/gui/src/i18n/translations/emoji.js +++ b/src/gui/src/i18n/translations/emoji.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const emoji = { name: "🌍", english_name: "Emoji", diff --git a/src/gui/src/i18n/translations/en.js b/src/gui/src/i18n/translations/en.js index 0d3a4f956..f867e6aaa 100644 --- a/src/gui/src/i18n/translations/en.js +++ b/src/gui/src/i18n/translations/en.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const en = { name: "English", english_name: "English", diff --git a/src/gui/src/i18n/translations/es.js b/src/gui/src/i18n/translations/es.js index bb94e51ee..8ff49e19f 100644 --- a/src/gui/src/i18n/translations/es.js +++ b/src/gui/src/i18n/translations/es.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const es = { name: "Español", english_name: "Spanish", diff --git a/src/gui/src/i18n/translations/fa.js b/src/gui/src/i18n/translations/fa.js index 9c71b0271..dd8947451 100644 --- a/src/gui/src/i18n/translations/fa.js +++ b/src/gui/src/i18n/translations/fa.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const fa = { name: "فارسی", english_name: "Farsi", diff --git a/src/gui/src/i18n/translations/fi.js b/src/gui/src/i18n/translations/fi.js index 4aaf96a29..887566193 100644 --- a/src/gui/src/i18n/translations/fi.js +++ b/src/gui/src/i18n/translations/fi.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const fi = { name: "Suomi", english_name: "Finnish", diff --git a/src/gui/src/i18n/translations/fr.js b/src/gui/src/i18n/translations/fr.js index 5a4512b46..7cc30be81 100644 --- a/src/gui/src/i18n/translations/fr.js +++ b/src/gui/src/i18n/translations/fr.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const fr = { name: "Français", english_name: "French", diff --git a/src/gui/src/i18n/translations/hi.js b/src/gui/src/i18n/translations/hi.js index 7ea9a688c..bfdaf7e91 100644 --- a/src/gui/src/i18n/translations/hi.js +++ b/src/gui/src/i18n/translations/hi.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const hi = { name: "हिंदी", english_name: "hindi", diff --git a/src/gui/src/i18n/translations/hy.js b/src/gui/src/i18n/translations/hy.js index b5250cae4..e340f9cca 100644 --- a/src/gui/src/i18n/translations/hy.js +++ b/src/gui/src/i18n/translations/hy.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const hy = { name: "Հայերեն", english_name: "Armenian", diff --git a/src/gui/src/i18n/translations/ig.js b/src/gui/src/i18n/translations/ig.js index e5e822e73..7bc7e88c7 100644 --- a/src/gui/src/i18n/translations/ig.js +++ b/src/gui/src/i18n/translations/ig.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const ig = { name: "Igbo", english_name: "Igbo", diff --git a/src/gui/src/i18n/translations/it.js b/src/gui/src/i18n/translations/it.js index 0e40485aa..a0c7fead1 100644 --- a/src/gui/src/i18n/translations/it.js +++ b/src/gui/src/i18n/translations/it.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const it = { name: "Italiano", english_name: "Italian", diff --git a/src/gui/src/i18n/translations/ko.js b/src/gui/src/i18n/translations/ko.js index 8c3e20fa8..c9659f622 100644 --- a/src/gui/src/i18n/translations/ko.js +++ b/src/gui/src/i18n/translations/ko.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const ko = { name: "한국어", english_name: "Korean", diff --git a/src/gui/src/i18n/translations/nb.js b/src/gui/src/i18n/translations/nb.js index 3901711af..191e0bef5 100644 --- a/src/gui/src/i18n/translations/nb.js +++ b/src/gui/src/i18n/translations/nb.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const nb = { name: "Norsk Bokmål", english_name: "Norwegian Bokmål", diff --git a/src/gui/src/i18n/translations/nl.js b/src/gui/src/i18n/translations/nl.js index f141d7721..d02da55d2 100644 --- a/src/gui/src/i18n/translations/nl.js +++ b/src/gui/src/i18n/translations/nl.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const nl = { name: "Nederlands", english_name: "Dutch", diff --git a/src/gui/src/i18n/translations/nn.js b/src/gui/src/i18n/translations/nn.js index e11cf6ea1..1f323609d 100644 --- a/src/gui/src/i18n/translations/nn.js +++ b/src/gui/src/i18n/translations/nn.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const nn = { name: "Norsk Nynorsk", english_name: "Norwegian Nynorsk", diff --git a/src/gui/src/i18n/translations/pl.js b/src/gui/src/i18n/translations/pl.js index 8c27a617e..631dafc55 100644 --- a/src/gui/src/i18n/translations/pl.js +++ b/src/gui/src/i18n/translations/pl.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const pl = { name: "Polski", english_name: "Polish", diff --git a/src/gui/src/i18n/translations/pt.js b/src/gui/src/i18n/translations/pt.js index b41c1eb48..32ebbbf58 100644 --- a/src/gui/src/i18n/translations/pt.js +++ b/src/gui/src/i18n/translations/pt.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const pt = { name: "Português", english_name: "Portuguese", diff --git a/src/gui/src/i18n/translations/ro.js b/src/gui/src/i18n/translations/ro.js index e38110570..7cd7c9361 100644 --- a/src/gui/src/i18n/translations/ro.js +++ b/src/gui/src/i18n/translations/ro.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const ro = { name: "Română", english_name: "Romanian", diff --git a/src/gui/src/i18n/translations/ru.js b/src/gui/src/i18n/translations/ru.js index 678febb9f..34802e926 100644 --- a/src/gui/src/i18n/translations/ru.js +++ b/src/gui/src/i18n/translations/ru.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const ru = { name: "Русский", english_name: "Russian", diff --git a/src/gui/src/i18n/translations/sv.js b/src/gui/src/i18n/translations/sv.js index b682a086c..ea88c573b 100644 --- a/src/gui/src/i18n/translations/sv.js +++ b/src/gui/src/i18n/translations/sv.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const sv = { name: "Svenska", english_name: "Swedish", diff --git a/src/gui/src/i18n/translations/th.js b/src/gui/src/i18n/translations/th.js index 13521ecff..4d391ba39 100644 --- a/src/gui/src/i18n/translations/th.js +++ b/src/gui/src/i18n/translations/th.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const th = { name: "ไทย", english_name: "Thai", diff --git a/src/gui/src/i18n/translations/tr.js b/src/gui/src/i18n/translations/tr.js index ce9d1ab19..0e1a29f68 100644 --- a/src/gui/src/i18n/translations/tr.js +++ b/src/gui/src/i18n/translations/tr.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const tr = { name: "Türkçe", english_name: "Turkish", diff --git a/src/gui/src/i18n/translations/translations.js b/src/gui/src/i18n/translations/translations.js index f64a1c532..1abbd95a9 100644 --- a/src/gui/src/i18n/translations/translations.js +++ b/src/gui/src/i18n/translations/translations.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + import ar from './ar.js'; import bn from './bn.js'; import br from './br.js'; diff --git a/src/gui/src/i18n/translations/ua.js b/src/gui/src/i18n/translations/ua.js index 59fa3bee4..ee521f566 100644 --- a/src/gui/src/i18n/translations/ua.js +++ b/src/gui/src/i18n/translations/ua.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const ua = { name: "Українська", english_name: "Ukrainian", diff --git a/src/gui/src/i18n/translations/ur.js b/src/gui/src/i18n/translations/ur.js index a9596518a..8b48be53b 100644 --- a/src/gui/src/i18n/translations/ur.js +++ b/src/gui/src/i18n/translations/ur.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const ur = { name: "اردو", english_name: "Urdu", diff --git a/src/gui/src/i18n/translations/zh.js b/src/gui/src/i18n/translations/zh.js index 6928b04fb..7c5646d30 100644 --- a/src/gui/src/i18n/translations/zh.js +++ b/src/gui/src/i18n/translations/zh.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + const zh = { name: "中文", english_name: "Chinese", diff --git a/src/gui/src/i18n/translations/zhtw.js b/src/gui/src/i18n/translations/zhtw.js index 6e6c0e57c..276284d44 100644 --- a/src/gui/src/i18n/translations/zhtw.js +++ b/src/gui/src/i18n/translations/zhtw.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const zhtw = { name: "繁體中文", english_name: "Traditional Chinese", diff --git a/src/gui/src/index.js b/src/gui/src/index.js index 60a3c1d99..450cff798 100644 --- a/src/gui/src/index.js +++ b/src/gui/src/index.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + window.puter_gui_enabled = true; /** diff --git a/src/gui/src/initgui.js b/src/gui/src/initgui.js index 863dba03b..a4ed477b8 100644 --- a/src/gui/src/initgui.js +++ b/src/gui/src/initgui.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -35,6 +17,7 @@ * along with this program. If not, see . */ + import UIDesktop from './UI/UIDesktop.js' import UIWindow from './UI/UIWindow.js' import UIAlert from './UI/UIAlert.js' diff --git a/src/gui/src/services/BroadcastService.js b/src/gui/src/services/BroadcastService.js index 836b0c697..21bb9dfeb 100644 --- a/src/gui/src/services/BroadcastService.js +++ b/src/gui/src/services/BroadcastService.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + import { Service } from "../definitions.js"; export class BroadcastService extends Service { diff --git a/src/gui/src/services/ThemeService.js b/src/gui/src/services/ThemeService.js index e1f6c0b5c..b49d41e68 100644 --- a/src/gui/src/services/ThemeService.js +++ b/src/gui/src/services/ThemeService.js @@ -1,21 +1,3 @@ -/* - * Copyright (C) 2024 Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 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 Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ /** * Copyright (C) 2024 Puter Technologies Inc. * @@ -34,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + import UIAlert from "../UI/UIAlert.js"; import { Service } from "../definitions.js";