From c67674c8891953783ffa09ece8d139f40250e826 Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Wed, 19 Jun 2024 00:01:12 -0700 Subject: [PATCH] Add license headers --- src/UI/Components/ActionCard.js | 19 +++++++++++++++++++ src/UI/Components/Button.js | 19 +++++++++++++++++++ src/UI/Components/CodeEntryView.js | 19 +++++++++++++++++++ src/UI/Components/ConfirmationsView.js | 19 +++++++++++++++++++ src/UI/Components/Flexer.js | 19 +++++++++++++++++++ src/UI/Components/Frame.js | 19 +++++++++++++++++++ src/UI/Components/Glyph.js | 19 +++++++++++++++++++ src/UI/Components/JustHTML.js | 19 +++++++++++++++++++ src/UI/Components/NotifCard.js | 19 +++++++++++++++++++ src/UI/Components/PasswordEntry.js | 19 +++++++++++++++++++ src/UI/Components/QRCode.js | 19 +++++++++++++++++++ src/UI/Components/RecoveryCodeEntryView.js | 19 +++++++++++++++++++ src/UI/Components/RecoveryCodesView.js | 19 +++++++++++++++++++ src/UI/Components/Slider.js | 1 + src/UI/Components/Spinner.js | 19 +++++++++++++++++++ src/UI/Components/StepHeading.js | 19 +++++++++++++++++++ src/UI/Components/StepView.js | 19 +++++++++++++++++++ src/UI/Components/StringView.js | 19 +++++++++++++++++++ src/UI/Components/Table.js | 19 +++++++++++++++++++ src/UI/Components/TestView.js | 19 +++++++++++++++++++ src/i18n/translations/fa.js | 9 +++++++++ 21 files changed, 371 insertions(+) diff --git a/src/UI/Components/ActionCard.js b/src/UI/Components/ActionCard.js index 8c65b9118..96a79d0c2 100644 --- a/src/UI/Components/ActionCard.js +++ b/src/UI/Components/ActionCard.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class ActionCard extends Component { diff --git a/src/UI/Components/Button.js b/src/UI/Components/Button.js index a466a3ed7..3cb306b34 100644 --- a/src/UI/Components/Button.js +++ b/src/UI/Components/Button.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class Button extends Component { diff --git a/src/UI/Components/CodeEntryView.js b/src/UI/Components/CodeEntryView.js index b37abd847..b3e718588 100644 --- a/src/UI/Components/CodeEntryView.js +++ b/src/UI/Components/CodeEntryView.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class CodeEntryView extends Component { diff --git a/src/UI/Components/ConfirmationsView.js b/src/UI/Components/ConfirmationsView.js index a11503c3a..17319b5b4 100644 --- a/src/UI/Components/ConfirmationsView.js +++ b/src/UI/Components/ConfirmationsView.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); /** diff --git a/src/UI/Components/Flexer.js b/src/UI/Components/Flexer.js index b983772de..a28721314 100644 --- a/src/UI/Components/Flexer.js +++ b/src/UI/Components/Flexer.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); /** diff --git a/src/UI/Components/Frame.js b/src/UI/Components/Frame.js index 446f4f166..3b6b00988 100644 --- a/src/UI/Components/Frame.js +++ b/src/UI/Components/Frame.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class Frame extends Component { diff --git a/src/UI/Components/Glyph.js b/src/UI/Components/Glyph.js index 2d58dadfc..268fdfdea 100644 --- a/src/UI/Components/Glyph.js +++ b/src/UI/Components/Glyph.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + import { Component } from "../../util/Component.js"; export default def(class Glyph extends Component { diff --git a/src/UI/Components/JustHTML.js b/src/UI/Components/JustHTML.js index ace8548f9..8c6a57b0f 100644 --- a/src/UI/Components/JustHTML.js +++ b/src/UI/Components/JustHTML.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); /** diff --git a/src/UI/Components/NotifCard.js b/src/UI/Components/NotifCard.js index 1696ee675..fe4fdbc0a 100644 --- a/src/UI/Components/NotifCard.js +++ b/src/UI/Components/NotifCard.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class NotifCard extends Component { diff --git a/src/UI/Components/PasswordEntry.js b/src/UI/Components/PasswordEntry.js index f281ef209..02fa10e2d 100644 --- a/src/UI/Components/PasswordEntry.js +++ b/src/UI/Components/PasswordEntry.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class PasswordEntry extends Component { diff --git a/src/UI/Components/QRCode.js b/src/UI/Components/QRCode.js index b6f10965e..f15d83e58 100644 --- a/src/UI/Components/QRCode.js +++ b/src/UI/Components/QRCode.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); import UIComponentWindow from "../UIComponentWindow.js"; diff --git a/src/UI/Components/RecoveryCodeEntryView.js b/src/UI/Components/RecoveryCodeEntryView.js index 4cf80ebeb..2d029e402 100644 --- a/src/UI/Components/RecoveryCodeEntryView.js +++ b/src/UI/Components/RecoveryCodeEntryView.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class RecoveryCodeEntryView extends Component { diff --git a/src/UI/Components/RecoveryCodesView.js b/src/UI/Components/RecoveryCodesView.js index 48fcde234..09fc8c506 100644 --- a/src/UI/Components/RecoveryCodesView.js +++ b/src/UI/Components/RecoveryCodesView.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class RecoveryCodesView extends Component { diff --git a/src/UI/Components/Slider.js b/src/UI/Components/Slider.js index c75f7b5d3..9294b2d44 100644 --- a/src/UI/Components/Slider.js +++ b/src/UI/Components/Slider.js @@ -16,6 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + const Component = use('util.Component'); /** diff --git a/src/UI/Components/Spinner.js b/src/UI/Components/Spinner.js index ffae866ab..7e00a0339 100644 --- a/src/UI/Components/Spinner.js +++ b/src/UI/Components/Spinner.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class Spinner extends Component { diff --git a/src/UI/Components/StepHeading.js b/src/UI/Components/StepHeading.js index b43dc0095..8e95380a4 100644 --- a/src/UI/Components/StepHeading.js +++ b/src/UI/Components/StepHeading.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); /** diff --git a/src/UI/Components/StepView.js b/src/UI/Components/StepView.js index aa32e2e8e..dafa84921 100644 --- a/src/UI/Components/StepView.js +++ b/src/UI/Components/StepView.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); export default def(class StepView extends Component { diff --git a/src/UI/Components/StringView.js b/src/UI/Components/StringView.js index 6cfe4b974..50fbf68ea 100644 --- a/src/UI/Components/StringView.js +++ b/src/UI/Components/StringView.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); /** diff --git a/src/UI/Components/Table.js b/src/UI/Components/Table.js index d8f6b4de8..40b022819 100644 --- a/src/UI/Components/Table.js +++ b/src/UI/Components/Table.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); /** diff --git a/src/UI/Components/TestView.js b/src/UI/Components/TestView.js index e240878ad..a412d45a6 100644 --- a/src/UI/Components/TestView.js +++ b/src/UI/Components/TestView.js @@ -1,3 +1,22 @@ +/** + * 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 . + */ + const Component = use('util.Component'); /** diff --git a/src/i18n/translations/fa.js b/src/i18n/translations/fa.js index 8f5773614..f422759c9 100644 --- a/src/i18n/translations/fa.js +++ b/src/i18n/translations/fa.js @@ -21,6 +21,8 @@ const fa = { english_name: "Farsi", code: "fa", dictionary: { + about: "درباره", + account: "حساب کاربری", access_granted_to: "دسترسی داده شده به", add_existing_account: "افزودن حساب کاربری موجود", all_fields_required: 'تمامی فیلدها الزامی هستند.', @@ -35,6 +37,7 @@ const fa = { change_language: "تغییر زبان", change_password: "تغییر رمز عبور", change_username: "تغییر نام کاربری", + clock: 'ساعت', close_all_windows: "بستن همه پنجره ها", color: 'رنگ', confirm_account_for_free_referral_storage_c2a: 'حساب کاربری خود را ایجاد کرده و آدرس ایمیل خود را تأیید کنید تا 1 گیگابایت فضای ذخیره سازی رایگان دریافت کنید. دوست شما هم 1 گیگابایت فضای ذخیره سازی رایگان دریافت خواهد کرد.', @@ -81,6 +84,7 @@ const fa = { items_in_trash_cannot_be_renamed: `این مورد نمی تواند تغییر نام دهد زیرا در سطل زباله است. برای تغییر نام این مورد، ابتدا آن را از سطل زباله بیرون بکشید.`, jpeg_image: 'تصویر JPEG', keep_in_taskbar: 'در نوار وظایف نگه دارید', + language: "زبان", log_in: "ورود", log_out: 'خروج', move: 'انتقال', @@ -109,6 +113,7 @@ const fa = { passwords_do_not_match: '`رمز عبور جدید` و `تأیید رمز عبور جدید` مطابقت ندارند.', paste: 'چسباندن', paste_into_folder: "چسباندن در پوشه", + personalization: "شخصی سازی", pick_name_for_website: "یک نام برای وبسایت خود انتخاب کنید:", picture: "تصویر", powered_by_puter_js: `پشتیبانی شده توسط {{link=docs}}Puter.js{{/link}}`, @@ -132,12 +137,14 @@ const fa = { save_account_to_publish: 'لطفا برای ادامه یک حساب کاربری ایجاد کنید.', save_session_c2a: 'برای ذخیره جلسه فعلی و جلوگیری از از دست دادن کار خود یک حساب کاربری ایجاد کنید.', scan_qr_c2a: 'کد زیر را از دستگاه های دیگر اسکن کنید تا به این جلسه وارد شوید', + security: "امنیت", select: "انتخاب", select_color: 'انتخاب رنگ…', send: "ارسال", send_password_recovery_email: "ارسال ایمیل بازیابی رمز عبور", session_saved: "با تشکر از ایجاد حساب کاربری. این جلسه ذخیره شده است.", set_new_password: "تنظیم رمز عبور جدید", + settings: "تنظیمات", share_to: "اشتراک گذاری به", show_all_windows: "نمایش همه پنجره ها", show_hidden: 'نمایش مخفی', @@ -149,12 +156,14 @@ const fa = { start: 'شروع', storage_puter_used: 'استفاده شده توسط Puter', taking_longer_than_usual: 'کمی بیشتر از معمول طول می کشد. لطفا صبر کنید...', + task_manager: 'مدیر وظایف', text_document: 'سند متنی', tos_fineprint: `با کلیک بر روی 'ایجاد حساب کاربری رایگان' شما با {{link=terms}}شرایط خدمات{{/link}} و {{link=privacy}}سیاست حفظ حریم خصوصی{{/link}} Puter موافقت می کنید.`, trash: 'سطل زباله', type: 'نوع', undo: 'بازگشت', unzip: "باز کردن فایل فشرده", + usage: 'استفاده', upload: 'بارگذاری', upload_here: 'اینجا بارگذاری کنید', username: "نام کاربری",