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 d53376d8..dc115b2a 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 a1746489..bd72d05e 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 90a40677..53429607 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 b29ad486..b94a1fd2 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 3e41bc66..c3404b2b 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 d74eb1fa..581481f3 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 b357093a..39f6c145 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 fcf97e56..5fe51a12 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 0db91e17..9f71a8b4 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 9b5adf48..82e59fc5 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 6a9f3524..e724690b 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 cb51f7d9..e8b21182 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 30dfd823..9e57c8a1 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 09895762..112bfd94 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 99cf804d..89d8a270 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 58a5c115..6aa1f2a0 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 2da06cc0..cc26373e 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 aee602eb..82849d46 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 e02af517..f34d060f 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 43baa527..f92eacb2 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 0f2b9d86..47a027d7 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 6e56c5c2..e49530ee 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 4af1c224..fbea62a2 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 9672ad6b..0c50464f 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 99973412..d738066b 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 5645e381..c8d51636 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 64410b7b..7b4f55cb 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 a5430f0c..9a10ab0a 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 94023209..f21028ac 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 1c8c0acf..e46761a8 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 be093463..bbba3ca4 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 ecd95e7b..7b77e09b 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 ad3017ab..04ac847a 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 0d3a4f95..f867e6aa 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 bb94e51e..8ff49e19 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 9c71b027..dd894745 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 4aaf96a2..88756619 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 5a4512b4..7cc30be8 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 7ea9a688..bfdaf7e9 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 b5250cae..e340f9cc 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 e5e822e7..7bc7e88c 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 0e40485a..a0c7fead 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 8c3e20fa..c9659f62 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 3901711a..191e0bef 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 f141d772..d02da55d 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 e11cf6ea..1f323609 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 8c27a617..631dafc5 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 b41c1eb4..32ebbbf5 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 e3811057..7cd7c936 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 678febb9..34802e92 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 b682a086..ea88c573 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 13521ecf..4d391ba3 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 ce9d1ab1..0e1a29f6 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 f64a1c53..1abbd95a 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 59fa3bee..ee521f56 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 a9596518..8b48be53 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 6928b04f..7c5646d3 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 6e6c0e57..276284d4 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 60a3c1d9..450cff79 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 863dba03..a4ed477b 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 836b0c69..21bb9dfe 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 e1f6c0b5..b49d41e6 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";