diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index ef4efd7c3..982ded738 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,13 +5,13 @@ Please read the list below. Feel free to delete this text after but we need you ### Checklist #### Before submitting the PR -- [ ] Read the [CONTRIBUTING document](https://github.com/monicahq/monica/blob/master/CONTRIBUTING.md) before submitting your PR. +- [ ] Read the [CONTRIBUTING document](https://github.com/monicahq/monica/blob/main/CONTRIBUTING.md) before submitting your PR. - [ ] If the PR is related to an issue or fix one, don't forget to indicate it. - [ ] Create your PR as draft if it is not final yet. Mark it as ready... when it’s ready. Otherwise the PR will be considered complete and rejected if it's not working. ### General checks - [ ] Make sure that the change you propose is the smallest possible. -- [ ] The name of the PR should follow the [conventional commits guideline](https://github.com/monicahq/monica/blob/master/docs/contribute/readme.md#conventional-commits) that the project follows. +- [ ] The name of the PR should follow the [conventional commits guideline](https://github.com/monicahq/monica/blob/main/docs/contribute/readme.md#conventional-commits) that the project follows. ### Front-end changes - [ ] If you change the UI, make sure to ask repositories administrators first about your changes by pinging djaiss or asbiin in this PR. @@ -30,6 +30,6 @@ Please read the list below. Feel free to delete this text after but we need you - [ ] Make sure account reset and deletion still work. #### Other tasks -- [ ] [CONTRIBUTORS](https://github.com/monicahq/monica/blob/master/CONTRIBUTORS) entry added, if necessary. -- [ ] If it's relevant and worth mentioning, create a changelog entry for this change. The changelog entry will appear inside the UI for all users to see. To know if your change is worth the creation of a changelog entry, [read the documentation](https://github.com/monicahq/monica/blob/master/docs/administrators/tips.md#when-is-it-relevant-to-create-a-changelog-entry). +- [ ] [CONTRIBUTORS](https://github.com/monicahq/monica/blob/main/CONTRIBUTORS) entry added, if necessary. +- [ ] If it's relevant and worth mentioning, create a changelog entry for this change. The changelog entry will appear inside the UI for all users to see. To know if your change is worth the creation of a changelog entry, [read the documentation](https://github.com/monicahq/monica/blob/main/docs/administrators/tips.md#when-is-it-relevant-to-create-a-changelog-entry). - [ ] Don't forget to [ask for a free account](mailto:regis@monicahq.com) on https://monicahq.com as anyone who contributes can request a free account. diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f7901aa51..67808cf5c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -3,7 +3,7 @@ name: Docker on: push: branches: - - master + - main env: php-version: '8.0' @@ -12,7 +12,7 @@ env: jobs: docker-run: runs-on: ubuntu-latest - name: Docker build master + name: Docker build developpment strategy: fail-fast: false diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index a48da8425..60ce0bb89 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -1,4 +1,4 @@ -name: 'Lock Threads' +name: Lock Threads # See https://github.com/dessant/lock-threads on: diff --git a/.github/workflows/migration_tests.yml b/.github/workflows/migration_tests.yml index f69f1c792..9065beb78 100644 --- a/.github/workflows/migration_tests.yml +++ b/.github/workflows/migration_tests.yml @@ -1,8 +1,6 @@ name: Migration tests on: - push: - branches: [master] pull_request: types: [opened, synchronize, reopened] branches-ignore: ['l10n_master*'] diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0faf6b764..41a9d19af 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,7 +2,7 @@ name: Unit tests on: push: - branches: [master] + branches: [main] pull_request: types: [opened, synchronize, reopened] branches-ignore: ['l10n_master*'] diff --git a/.releaserc b/.releaserc index 22a15ff5c..30a82da08 100644 --- a/.releaserc +++ b/.releaserc @@ -29,7 +29,7 @@ [ "semantic-release-github-pullrequest", { - "baseRef": "master", + "baseRef": "main", "assets": ["CHANGELOG.md"], "labels": [ "semantic-release", diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f51fc510b..0b6ee5be1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,7 +30,7 @@ git checkout -b 325-add-japanese-translations ### 3. Get the test suite running -Make sure you follow the [instructions](https://github.com/monicahq/monica/blob/master/docs/contribute/readme.md#testing-environment) +Make sure you follow the [instructions](https://github.com/monicahq/monica/blob/main/docs/contribute/readme.md#testing-environment) on how to setup the test suite. ### 4. Did you find a bug? diff --git a/README.md b/README.md index fc6d4fbd6..bb99b9053 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [](https://hub.docker.com/_/monica/)  [](https://sonarcloud.io/project/activity?custom_metrics=coverage&graph=custom&id=monica) -[](https://github.com/monicahq/monica/blob/master/LICENSE.md) +[](https://github.com/monicahq/monica/blob/main/LICENSE.md) @@ -123,7 +123,7 @@ There are multiple ways of getting started with Monica: - Platform.sh [](https://console.platform.sh/projects/create-project/?template=https%3A%2F%2Fgithub.com%2Fmonicahq%2Fmonica&utm_campaign=deploy_on_platform&utm_medium=button&utm_source=affiliate_links&utm_content=https%3A%2F%2Fgithub.com%2Fmonicahq%2Fmonica) - - [Heroku](https://heroku.com) [](https://heroku.com/deploy?template=https://github.com/monicahq/monica/tree/master) + - [Heroku](https://heroku.com) [](https://heroku.com/deploy?template=https://github.com/monicahq/monica/tree/main) ### Requirements diff --git a/app.json b/app.json index fc8906863..6190013a2 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "name": "Monica", "description": "Personal Relationship Manager - a new kind of CRM to manage your friends and family.", "repository": "https://github.com/monicahq/monica", - "logo": "https://raw.githubusercontent.com/monicahq/monica/master/public/img/monica_60.png", + "logo": "https://raw.githubusercontent.com/monicahq/monica/main/public/img/monica_60.png", "keywords": [ "CRM", "family", diff --git a/config/lang-detector.php b/config/lang-detector.php index 22f4516f4..4ad77daed 100644 --- a/config/lang-detector.php +++ b/config/lang-detector.php @@ -25,7 +25,7 @@ return [ * You could use parse_langs_to_array to use the string syntax * or just use the array of languages with its aliases. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ 'languages' => parse_langs_to_array( env('LANG_DETECTOR_LANGUAGES', [ diff --git a/docs/contribute/readme.md b/docs/contribute/readme.md index ffceb00eb..33a527899 100644 --- a/docs/contribute/readme.md +++ b/docs/contribute/readme.md @@ -196,7 +196,7 @@ We follow [GitHub Flow](https://guides.github.com/introduction/flow/) to manage We follow the [conventional commit message](https://conventionalcommits.org/) syntax for our commits. For instance, `feat: allow provided config object to extend other configs` or `feat(lang): added polish language`. -Every feature branch that is squashed onto master must follow these rules. +Every feature branch that is squashed onto main branch must follow these rules. The benefits are: * a standard way of writing commit messages for every contributor, @@ -219,7 +219,7 @@ Moreover, every commit message needs to be written in lowercase. * ✅ feat(lang): added polish language * ❌ feat(lang): Added polish language -All the commits in a pull request are squashed when merged into master. That means *only the commit message of the squashed branch needs to follow this commit message convention*. That also means that you don't need to follow this convention for commits within a branch, which will usually contains a lot of commits with a `wip` title. +All the commits in a pull request are squashed when merged into main branch. That means *only the commit message of the squashed branch needs to follow this commit message convention*. That also means that you don't need to follow this convention for commits within a branch, which will usually contains a lot of commits with a `wip` title. ## Backend diff --git a/docs/contribute/translate.md b/docs/contribute/translate.md index bb2f1adcb..1885d1e02 100644 --- a/docs/contribute/translate.md +++ b/docs/contribute/translate.md @@ -22,10 +22,10 @@ You can [open an issue](https://github.com/monicahq/monica/issues/new) to reques To enable a new language in Monica: * we have to configure it in Crowdin first. This is something we must do ourselves (we: members of the project). To do it, we need to go to Settings > Translations > Target Languages and add the new locale here. -* add the name of the language in [the main English settings file](https://github.com/monicahq/monica/blob/master/resources/lang/en/settings.php). -* update the [lang-detector.php file](https://github.com/monicahq/monica/blob/master/config/lang-detector.php) by adding the new locale abbreviation (please add it in alphabetic order). -* add the locale in the [webpack.mix.js file](https://github.com/monicahq/monica/blob/master/webpack.mix.js) (please add it in alphabetic order). -* (optional) when adding a country-specific language (like 'en-GB'), you may need to update the [crowdin.yml config file](https://github.com/monicahq/monica/blob/master/crowdin.yml). +* add the name of the language in [the main English settings file](https://github.com/monicahq/monica/blob/main/resources/lang/en/settings.php). +* update the [lang-detector.php file](https://github.com/monicahq/monica/blob/main/config/lang-detector.php) by adding the new locale abbreviation (please add it in alphabetic order). +* add the locale in the [webpack.mix.js file](https://github.com/monicahq/monica/blob/main/webpack.mix.js) (please add it in alphabetic order). +* (optional) when adding a country-specific language (like 'en-GB'), you may need to update the [crowdin.yml config file](https://github.com/monicahq/monica/blob/main/crowdin.yml). Then, submit your PR for review. A good example of adding a new locale can [be found here](https://github.com/monicahq/monica/pull/3356). @@ -41,7 +41,7 @@ Translation appears in two types of files in the codebase: in Laravel (php) and Example: `:name’s birthday` => `anniversaire de :name` - **plural forms**: see [laravel doc](https://laravel.com/docs/5.6/localization#pluralization) for documentation. It supports basic and occidental plural variations, each one being defined in [here](https://github.com/laravel/framework/blob/5.6/src/Illuminate/Translation/MessageSelector.php#L110). Example: `1 message|:count messages` => `:count message|:count messages`, or: `{1}:count message|[2,*]:count messages` -- **format strings**: we use [Carbon](http://carbon.nesbot.com/docs/#api-commonformats) to handle dates. [format.php](https://github.com/monicahq/monica/blob/master/resources/lang/en/format.php) file contains format we use to export dates as strings in the right localized format. See [php doc](http://www.php.net/manual/en/function.date.php) to know which format you can use. +- **format strings**: we use [Carbon](http://carbon.nesbot.com/docs/#api-commonformats) to handle dates. [format.php](https://github.com/monicahq/monica/blob/main/resources/lang/en/format.php) file contains format we use to export dates as strings in the right localized format. See [php doc](http://www.php.net/manual/en/function.date.php) to know which format you can use. ### With Vue.js @@ -53,7 +53,7 @@ We use the [vue-i18n](https://www.npmjs.com/package/vue-i18n) package. - Example: `{name}’s birthday` => `anniversaire de {name}` - Other example: `{{ $t('people.stay_in_touch_frequency', { count: frequency }) }}` - **plural forms**: See [vue-i18n doc](http://kazupon.github.io/vue-i18n/en/pluralization.html). - Pluralization is customized in the [pluralization.js](https://github.com/monicahq/monica/blob/master/resources/js/pluralization.js) file. This should fit your language pluralization form. Messages must be separated by a pipe, but you cannot define the number of occurrences it applies to like with Laravel translation (no brackets or braces). + Pluralization is customized in the [pluralization.js](https://github.com/monicahq/monica/blob/main/resources/js/pluralization.js) file. This should fit your language pluralization form. Messages must be separated by a pipe, but you cannot define the number of occurrences it applies to like with Laravel translation (no brackets or braces). Example: `1 message|{count} messages` => `{count} message|{count} messages` in French, or: `{count}条消息` in Chinese (only 1 form) ## Rules for translation diff --git a/docs/installation/providers/cpanel.md b/docs/installation/providers/cpanel.md index ec6386c47..c86f7b3dc 100644 --- a/docs/installation/providers/cpanel.md +++ b/docs/installation/providers/cpanel.md @@ -66,7 +66,7 @@ cd /public_html/[subdomain you wish to install monica on] git clone https://github.com/monicahq/monica.git ``` -You should check out a tagged version of Monica since `master` branch may not always be stable. Find the latest official version on the [release page](https://github.com/monicahq/monica/releases). +You should check out a tagged version of Monica since `main` branch may not always be stable. Find the latest official version on the [release page](https://github.com/monicahq/monica/releases). ```sh cd /var/www/monica @@ -108,7 +108,7 @@ As the configuration of the application is cached, any update on the `.env` file ### 4. Configure cron job -Monica requires some background processes to continuously run. The list of things Monica does in the background is described [here](https://github.com/monicahq/monica/blob/master/app/Console/Kernel.php#L63). +Monica requires some background processes to continuously run. The list of things Monica does in the background is described [here](https://github.com/monicahq/monica/blob/main/app/Console/Kernel.php#L63). Basically those crons are needed to send reminder emails and check if a new version is available. To do this, setup a cron that runs every minute that triggers the following command `php artisan schedule:run`. diff --git a/docs/installation/providers/debian.md b/docs/installation/providers/debian.md index 20ae039a5..93edb70d4 100644 --- a/docs/installation/providers/debian.md +++ b/docs/installation/providers/debian.md @@ -96,7 +96,7 @@ cd /var/www/ sudo git clone https://github.com/monicahq/monica.git ``` -You should check out a tagged version of Monica since `master` branch may not always be stable. +You should check out a tagged version of Monica since `main` branch may not always be stable. Find the latest official version on the [release page](https://github.com/monicahq/monica/releases) ```sh @@ -165,7 +165,7 @@ exit ### 4. Configure cron job -Monica requires some background processes to continuously run. The list of things Monica does in the background is described [here](https://github.com/monicahq/monica/blob/master/app/Console/Kernel.php#L63). +Monica requires some background processes to continuously run. The list of things Monica does in the background is described [here](https://github.com/monicahq/monica/blob/main/app/Console/Kernel.php#L63). Basically those crons are needed to send reminder emails and check if a new version is available. To do this, setup a cron that runs every minute that triggers the following command `php artisan schedule:run`. diff --git a/docs/installation/providers/generic.md b/docs/installation/providers/generic.md index 77701b59c..d5d491565 100644 --- a/docs/installation/providers/generic.md +++ b/docs/installation/providers/generic.md @@ -84,7 +84,7 @@ cd /var/www git clone https://github.com/monicahq/monica.git ``` -You should check out a tagged version of Monica since `master` branch may not always be stable. Find the latest official version on the [release page](https://github.com/monicahq/monica/releases). +You should check out a tagged version of Monica since `main` branch may not always be stable. Find the latest official version on the [release page](https://github.com/monicahq/monica/releases). ```sh cd /var/www/monica @@ -146,7 +146,7 @@ As the configuration of the application is cached, any update on the `.env` file ### 4. Configure cron job -Monica requires some background processes to continuously run. The list of things Monica does in the background is described [here](https://github.com/monicahq/monica/blob/master/app/Console/Kernel.php#L63). +Monica requires some background processes to continuously run. The list of things Monica does in the background is described [here](https://github.com/monicahq/monica/blob/main/app/Console/Kernel.php#L63). Basically those crons are needed to send reminder emails and check if a new version is available. To do this, setup a cron that runs every minute that triggers the following command `php artisan schedule:run`. diff --git a/docs/installation/providers/heroku.md b/docs/installation/providers/heroku.md index 387450a7c..e82fc21fb 100644 --- a/docs/installation/providers/heroku.md +++ b/docs/installation/providers/heroku.md @@ -2,7 +2,7 @@ Monica can be deployed on Heroku using the button below: -[](https://heroku.com/deploy?template=https://github.com/monicahq/monica/tree/master) +[](https://heroku.com/deploy?template=https://github.com/monicahq/monica/tree/main) - [Installation](#installation) - [Configuration](#configuration) @@ -35,7 +35,7 @@ Monica doesn't require a lot of power - it will run perfectly fine on the free p After deployment, the configuration of your app should look like this: - + Note that when you deploy with the "Deploy to Heroku" purple button, only 1 dyno ("web") is activated while the "queue" one is not. That is OK - the "queue" dyno is only helpful if you set `QUEUE_CONNECTION=database` (default is 'sync'). @@ -124,9 +124,9 @@ Client secret: zsfOHGnEbadlBP8kLsjOV8hMpHAxb0oAhenfmSqq You can update your Monica instance to the latest version by cloning the repository and pushing it to Heroku git. -Clone the Monica repository to your local environment by `git clone https://github.com/monicahq/monica`, and add heroku git repository by `heroku git:remote -a (heroku app name)`. Then, push to heroku by `git push heroku master`. Heroku will build and update the repository, automatically. +Clone the Monica repository to your local environment by `git clone https://github.com/monicahq/monica`, and add heroku git repository by `heroku git:remote -a (heroku app name)`. Then, push to heroku by `git push heroku main:master`. Heroku will build and update the repository, automatically. -See more information about updating Monica (including Heroku-specific things) [here](https://github.com/monicahq/monica/blob/master/docs/installation/update.md). +See more information about updating Monica (including Heroku-specific things) [here](https://github.com/monicahq/monica/blob/main/docs/installation/update.md). ## Update from 2.x to 3.x diff --git a/docs/installation/providers/ubuntu.md b/docs/installation/providers/ubuntu.md index 35d8ed8a9..856937064 100644 --- a/docs/installation/providers/ubuntu.md +++ b/docs/installation/providers/ubuntu.md @@ -108,7 +108,7 @@ cd /var/www git clone https://github.com/monicahq/monica.git ``` -You should check out a tagged version of Monica since `master` branch may not always be stable. Find the latest official version on the [release page](https://github.com/monicahq/monica/releases): +You should check out a tagged version of Monica since `main` branch may not always be stable. Find the latest official version on the [release page](https://github.com/monicahq/monica/releases): ```sh cd /var/www/monica @@ -170,7 +170,7 @@ exit ### 4. Configure cron job -Monica requires some background processes to continuously run. The list of things Monica does in the background is described [here](https://github.com/monicahq/monica/blob/master/app/Console/Kernel.php#L33). +Monica requires some background processes to continuously run. The list of things Monica does in the background is described [here](https://github.com/monicahq/monica/blob/main/app/Console/Kernel.php#L33). Basically those crons are needed to send reminder emails and check if a new version is available. To do this, setup a cron that runs every minute that triggers the following command `php artisan schedule:run`. diff --git a/docs/installation/providers/vagrant.md b/docs/installation/providers/vagrant.md index b33e5e8d3..73fc2f13d 100644 --- a/docs/installation/providers/vagrant.md +++ b/docs/installation/providers/vagrant.md @@ -22,7 +22,7 @@ cd ~/monica ``` 3. Download the `Vagrantfile` script ```sh -curl -sS https://raw.githubusercontent.com/monicahq/monica/master/scripts/vagrant/Vagrantfile -o Vagrantfile +curl -sS https://raw.githubusercontent.com/monicahq/monica/main/scripts/vagrant/Vagrantfile -o Vagrantfile ``` 4. Edit Vagrantfile to set the appropriate host port number (default: 8080) ``` @@ -57,8 +57,8 @@ Once the process is complete you can either access the virtual machine by typing 1. Download the `Vagrantfile` script ```sh -curl -sS https://raw.githubusercontent.com/monicahq/monica/master/scripts/vagrant/build/Vagrantfile -o Vagrantfile -curl -sS https://raw.githubusercontent.com/monicahq/monica/master/scripts/vagrant/build/install-monica.sh -o install-monica.sh +curl -sS https://raw.githubusercontent.com/monicahq/monica/main/scripts/vagrant/build/Vagrantfile -o Vagrantfile +curl -sS https://raw.githubusercontent.com/monicahq/monica/main/scripts/vagrant/build/install-monica.sh -o install-monica.sh ``` 2. Run the box by calling: ```sh diff --git a/docs/installation/update.md b/docs/installation/update.md index 736bdd81c..33f858454 100644 --- a/docs/installation/update.md +++ b/docs/installation/update.md @@ -15,9 +15,9 @@ or if you have installed Monica on your own server, you need to follow the steps 1. Always make a backup of your data before upgrading. 2. Check that your backup is valid. -3. Read the [release notes](https://github.com/monicahq/monica/blob/master/CHANGELOG.md) to check for breaking changes. +3. Read the [release notes](https://github.com/monicahq/monica/blob/main/CHANGELOG.md) to check for breaking changes. 4. Update sources: - 1. Consider check out a tagged version of Monica since `master` branch may not always be stable. + 1. Consider check out a tagged version of Monica since `main` branch may not always be stable. Find the latest official version on the [release page](https://github.com/monicahq/monica/releases) ```sh # Get latest tags from GitHub @@ -25,9 +25,9 @@ or if you have installed Monica on your own server, you need to follow the steps # Clone the desired version git checkout tags/v2.18.0 ``` - 2. Or check out `master` + 2. Or check out `main` ```sh - git pull origin master + git pull origin main ``` 5. Update the dependencies of the project: ```sh @@ -51,7 +51,7 @@ You can update your Monica instance to the latest version by cloning the reposit 1. Clone the Monica repository to your local environment by `git clone https://github.com/monicahq/monica.git`. 1. Add your app's heroku git repository by `heroku git:remote -a (heroku app name)` (this of course requires the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli). -1. Push to heroku by `git push heroku master`. Heroku will build and update the repository, automatically. +1. Push to heroku by `git push heroku main:master`. Heroku will build and update the repository, automatically. ## Importing vCards (CLI only) @@ -90,7 +90,7 @@ There is one caveat with the SQL exporter: you can't get the photos you've uploa ### Importing SQL into Heroku -If you're running your own Monica Heroku instance as mentioned in the [Heroku Installation Documentation](https://github.com/monicahq/monica/blob/master/docs/installation/providers/heroku.md), you're not actually running your own SQL server, which means that the solutions above might not be of assistance. +If you're running your own Monica Heroku instance as mentioned in the [Heroku Installation Documentation](https://github.com/monicahq/monica/blob/main/docs/installation/providers/heroku.md), you're not actually running your own SQL server, which means that the solutions above might not be of assistance. Heroku dynos use a [ClearDB MySQL add-on](https://devcenter.heroku.com/articles/cleardb) as their database. You can still use an SQL admin tool (like phpMyAdmin or Sequel Pro) to interact with the database, as well as use the `mysql-client` command line tool, you just need to know where to look for the credentials. diff --git a/resources/lang/en/app.php b/resources/lang/en/app.php index c44199923..bf84f0ff9 100644 --- a/resources/lang/en/app.php +++ b/resources/lang/en/app.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php index ba264de46..73e0db03f 100644 --- a/resources/lang/en/auth.php +++ b/resources/lang/en/auth.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/changelog.php b/resources/lang/en/changelog.php index cb895016d..981b01863 100644 --- a/resources/lang/en/changelog.php +++ b/resources/lang/en/changelog.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/dashboard.php b/resources/lang/en/dashboard.php index 30bc47837..519035265 100644 --- a/resources/lang/en/dashboard.php +++ b/resources/lang/en/dashboard.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/format.php b/resources/lang/en/format.php index 9e42bf6f3..a70a6bace 100644 --- a/resources/lang/en/format.php +++ b/resources/lang/en/format.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/journal.php b/resources/lang/en/journal.php index f13933510..db52e861f 100644 --- a/resources/lang/en/journal.php +++ b/resources/lang/en/journal.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/logs.php b/resources/lang/en/logs.php index f14b34d07..7b6654baf 100644 --- a/resources/lang/en/logs.php +++ b/resources/lang/en/logs.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/mail.php b/resources/lang/en/mail.php index 7a2f71bf3..749f3d190 100644 --- a/resources/lang/en/mail.php +++ b/resources/lang/en/mail.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php index d0f64c952..d663041ec 100644 --- a/resources/lang/en/pagination.php +++ b/resources/lang/en/pagination.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php index 4e05febea..1487bb9cd 100644 --- a/resources/lang/en/passwords.php +++ b/resources/lang/en/passwords.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/people.php b/resources/lang/en/people.php index 55195ab29..e04919561 100644 --- a/resources/lang/en/people.php +++ b/resources/lang/en/people.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/reminder.php b/resources/lang/en/reminder.php index 0188c8585..bcab17c7b 100644 --- a/resources/lang/en/reminder.php +++ b/resources/lang/en/reminder.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index 127942bcd..1f6387d22 100644 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index d602f995d..0153365fc 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -3,7 +3,7 @@ /** * ⚠️ Editing not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/vendor/confirmation/en/confirmation.php b/resources/lang/vendor/confirmation/en/confirmation.php index 63b138b72..6124e02fb 100644 --- a/resources/lang/vendor/confirmation/en/confirmation.php +++ b/resources/lang/vendor/confirmation/en/confirmation.php @@ -3,7 +3,7 @@ /** * ⚠️ Edition not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/lang/vendor/webauthn/en/errors.php b/resources/lang/vendor/webauthn/en/errors.php index b0e135940..ca01b52f5 100644 --- a/resources/lang/vendor/webauthn/en/errors.php +++ b/resources/lang/vendor/webauthn/en/errors.php @@ -3,7 +3,7 @@ /** * ⚠️ Edition not allowed except for 'en' language. * - * @see https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md for translations. + * @see https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md for translations. */ return [ diff --git a/resources/views/settings/export.blade.php b/resources/views/settings/export.blade.php index 64574c6e5..353bbb742 100644 --- a/resources/views/settings/export.blade.php +++ b/resources/views/settings/export.blade.php @@ -53,7 +53,7 @@
-{!! trans('settings.export_sql_link_instructions', ['url' => 'https://github.com/monicahq/monica/blob/master/docs/installation/update.md#importing-sql-from-the-exporter-feature']) !!}
+{!! trans('settings.export_sql_link_instructions', ['url' => 'https://github.com/monicahq/monica/blob/main/docs/installation/update.md#importing-sql-from-the-exporter-feature']) !!}
{{ trans('settings.export_json_explanation') }}
diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index 82f8e9580..daaf8c44e 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -91,7 +91,7 @@ @endforeach - {!! trans('settings.locale_help', ['url' => 'https://github.com/monicahq/monica/blob/master/docs/contribute/translate.md']) !!} + {!! trans('settings.locale_help', ['url' => 'https://github.com/monicahq/monica/blob/main/docs/contribute/translate.md']) !!} {{-- currency for user --}} diff --git a/scripts/ci/update-assets.sh b/scripts/ci/update-assets.sh index 63186b762..71495c2f0 100755 --- a/scripts/ci/update-assets.sh +++ b/scripts/ci/update-assets.sh @@ -68,8 +68,8 @@ git config user.name $ASSETS_USERNAME git commit -m "chore(assets): Update assets" # Push -if [ "$BRANCH" == "master" ] && [ "$PR_NUMBER" == "false" ]; then - echo -e "\033[0;31mmaster is not up to date, but we can't update it directly...\033[0;37m" +if [ "$BRANCH" == "main" ] && [ "$PR_NUMBER" == "false" ]; then + echo -e "\033[0;31mmain branch is not up to date, but we can't update it directly...\033[0;37m" exit 0 elif [ -n "${ASSETS_GITHUB_TOKEN:-}" ]; then diff --git a/template-definition.yaml b/template-definition.yaml index a7fc42600..93246c89d 100644 --- a/template-definition.yaml +++ b/template-definition.yaml @@ -26,7 +26,7 @@ info: # This field should be 1-3 sentences describing how the project is setup, assuming the reader already knows what # the application is. description: | - Monica is an open-source web application to organize the interactions with your loved ones. We call it a PRM, or Personal Relationship Management. Think of it as a CRM (a popular tool used by sales teams in the corporate world) for your friends or family. + Monica is an open-source web application to organize the interactions with your loved ones. We call it a PRM, or Personal Relationship Management. Think of it as a CRM (a popular tool used by sales teams in the corporate world) for your friends or family. # A list of tags associated with the template. These should be highly generic terms like "CMS", "Framework", and # the language in which the application is written. tags: @@ -44,14 +44,14 @@ info: content: "PHP 7.4