From 521dfa474d505337e664213a3c1f79f1e34a8a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=CC=88nther=20Debrauwer?= Date: Thu, 26 Sep 2024 11:26:04 +0200 Subject: [PATCH] Replace 'next apps' with 'wotz' --- CHANGELOG.md | 32 +++++++++---------- LICENSE | 2 +- README.md | 10 +++--- composer.json | 16 +++++----- src/Commands/DownloadCommand.php | 6 ++-- src/Commands/StatusCommand.php | 6 ++-- src/Commands/UploadCommand.php | 6 ++-- src/Commands/ValidateCommand.php | 8 ++--- src/Poeditor/Poeditor.php | 2 +- src/Poeditor/UploadResponse.php | 2 +- src/PoeditorSyncServiceProvider.php | 12 +++---- src/Translations/TranslationManager.php | 2 +- src/Validation/HasMatchingPluralization.php | 2 +- src/Validation/HasMatchingReplacements.php | 2 +- tests/DownloadCommandTest.php | 2 +- tests/PoeditorTest.php | 6 ++-- tests/StatusCommandTest.php | 2 +- tests/TestCase.php | 6 ++-- tests/UploadCommandTest.php | 6 ++-- tests/ValidateCommandTest.php | 2 +- .../HasMatchingPluralizationRuleTest.php | 6 ++-- .../HasMatchingReplacementsRuleTest.php | 6 ++-- 22 files changed, 72 insertions(+), 72 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a1d185..797a6b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,55 +4,55 @@ All notable changes to `laravel-poeditor-sync` will be documented in this file ## 1.0.1 - 2024-03-15 -- Added: Laravel 11 support ([#27](https://github.com/nextapps-be/laravel-poeditor-sync/pull/27)) +- Added: Laravel 11 support ([#27](https://github.com/wotzebra/laravel-poeditor-sync/pull/27)) ## 1.0.0 - 2024-01-23 -- Changed: Modernize codebase ([#16](https://github.com/nextapps-be/laravel-poeditor-sync/pull/16)) -- Removed: Drop support for PHP 7.4 until 8.0 and for Laravel 7 and 8 ([#15](https://github.com/nextapps-be/laravel-poeditor-sync/pull/15)) -- Removed: Docblocks (add typehints instead) ([#15](https://github.com/nextapps-be/laravel-poeditor-sync/pull/15)) +- Changed: Modernize codebase ([#16](https://github.com/wotzebra/laravel-poeditor-sync/pull/16)) +- Removed: Drop support for PHP 7.4 until 8.0 and for Laravel 7 and 8 ([#15](https://github.com/wotzebra/laravel-poeditor-sync/pull/15)) +- Removed: Docblocks (add typehints instead) ([#15](https://github.com/wotzebra/laravel-poeditor-sync/pull/15)) ## 0.8.1 - 2024-01-19 -- Fixed: Do not delete excluded translation files when downloading poeditor translations ([#14](https://github.com/nextapps-be/laravel-poeditor-sync/pull/14)) +- Fixed: Do not delete excluded translation files when downloading poeditor translations ([#14](https://github.com/wotzebra/laravel-poeditor-sync/pull/14)) ## 0.8.0 - 2023-12-15 -- Added: PHP 8.3 support ([#13](https://github.com/nextapps-be/laravel-poeditor-sync/pull/13)) +- Added: PHP 8.3 support ([#13](https://github.com/wotzebra/laravel-poeditor-sync/pull/13)) ## 0.7.1 - 2023-10-26 -- Fix PHP deprecation warning in string concatenation ([#12](https://github.com/nextapps-be/laravel-poeditor-sync/pull/12)) +- Fix PHP deprecation warning in string concatenation ([#12](https://github.com/wotzebra/laravel-poeditor-sync/pull/12)) ## 0.7.0 - 2023-08-25 -- Add support for mapping multiple internal locales to the same POEditor locale ([#11](https://github.com/nextapps-be/laravel-poeditor-sync/pull/11)) +- Add support for mapping multiple internal locales to the same POEditor locale ([#11](https://github.com/wotzebra/laravel-poeditor-sync/pull/11)) ## 0.6.0 - 2022-04-05 -- Add PHP 8.2 and Laravel 10 support ([#10](https://github.com/nextapps-be/laravel-poeditor-sync/pull/10)) +- Add PHP 8.2 and Laravel 10 support ([#10](https://github.com/wotzebra/laravel-poeditor-sync/pull/10)) ## 0.5.0 - 2022-02-16 -- Add PHP 8.1 and Laravel 9 support ([#9](https://github.com/nextapps-be/laravel-poeditor-sync/pull/9)) +- Add PHP 8.1 and Laravel 9 support ([#9](https://github.com/wotzebra/laravel-poeditor-sync/pull/9)) ## 0.4.1 - 2021-07-31 - - Prevent unwanted creation of empty 'vendor.php' file when vendor translations are present ([#8](https://github.com/nextapps-be/laravel-poeditor-sync/pull/8)) + - Prevent unwanted creation of empty 'vendor.php' file when vendor translations are present ([#8](https://github.com/wotzebra/laravel-poeditor-sync/pull/8)) ## 0.4.0 - 2021-02-15 - - Add php8 support and switch to github actions ([#6](https://github.com/nextapps-be/laravel-poeditor-sync/pull/6)) + - Add php8 support and switch to github actions ([#6](https://github.com/wotzebra/laravel-poeditor-sync/pull/6)) ## 0.3.0 - 2020-10-09 - - Do not create JSON translations file if it will be empty ([#4](https://github.com/nextapps-be/laravel-poeditor-sync/pull/4)) - - Add option to exclude files from upload ([#3](https://github.com/nextapps-be/laravel-poeditor-sync/pull/3)) - - Throw "invalid argument" exception if API key or Project ID is empty ([#2](https://github.com/nextapps-be/laravel-poeditor-sync/pull/2)) + - Do not create JSON translations file if it will be empty ([#4](https://github.com/wotzebra/laravel-poeditor-sync/pull/4)) + - Add option to exclude files from upload ([#3](https://github.com/wotzebra/laravel-poeditor-sync/pull/3)) + - Throw "invalid argument" exception if API key or Project ID is empty ([#2](https://github.com/wotzebra/laravel-poeditor-sync/pull/2)) ## 0.2.0 - 2020-09-09 -- Add Laravel 8 support, and drop Laravel 6 support ([#5](https://github.com/nextapps-be/laravel-poeditor-sync/pull/5)) +- Add Laravel 8 support, and drop Laravel 6 support ([#5](https://github.com/wotzebra/laravel-poeditor-sync/pull/5)) ## 0.1.0 - 2020-05-08 diff --git a/LICENSE b/LICENSE index 6fa45d9..1283292 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Next Apps +Copyright (c) 2024 Who Owns The Zebra Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 3084651..8e405f9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Laravel Poeditor Synchronization -[![Latest Version on Packagist](https://img.shields.io/packagist/v/nextapps/laravel-poeditor-sync.svg?style=flat-square)](https://packagist.org/packages/nextapps/laravel-poeditor-sync) -[![Total Downloads](https://img.shields.io/packagist/dt/nextapps/laravel-poeditor-sync.svg?style=flat-square)](https://packagist.org/packages/nextapps/laravel-poeditor-sync) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/wotz/laravel-poeditor-sync.svg?style=flat-square)](https://packagist.org/packages/wotz/laravel-poeditor-sync) +[![Total Downloads](https://img.shields.io/packagist/dt/wotz/laravel-poeditor-sync.svg?style=flat-square)](https://packagist.org/packages/wotz/laravel-poeditor-sync) Upload and download POEditor translations. Both PHP and JSON translation files are supported. @@ -12,13 +12,13 @@ Vendor PHP / JSON translations can also be uploaded / downloaded. You can install the package via composer: ```bash -composer require nextapps/laravel-poeditor-sync --dev +composer require wotz/laravel-poeditor-sync --dev ``` You can publish the configuration file: ```bash -php artisan vendor:publish --provider="NextApps\PoeditorSync\PoeditorSyncServiceProvider" +php artisan vendor:publish --provider="Wotz\PoeditorSync\PoeditorSyncServiceProvider" ``` Set the POEditor API key and Project ID in your env-file: @@ -111,7 +111,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details. ## Credits -- [Günther Debrauwer](https://github.com/nextapps) +- [Günther Debrauwer](https://github.com/wotz) - [All Contributors](../../contributors) ## License diff --git a/composer.json b/composer.json index dd6abb1..4a2d0d7 100644 --- a/composer.json +++ b/composer.json @@ -1,18 +1,18 @@ { - "name": "nextapps/laravel-poeditor-sync", + "name": "wotz/laravel-poeditor-sync", "description": "Upload and download POEditor translations", "keywords": [ - "nextapps", "laravel", - "poeditor" + "poeditor", + "translations" ], - "homepage": "https://github.com/nextapps/laravel-poeditor-sync", + "homepage": "https://github.com/wotz/laravel-poeditor-sync", "license": "MIT", "type": "library", "authors": [ { "name": "Günther Debrauwer", - "email": "gunther@nextapps.be", + "email": "gunther.debrauwer@whoownsthezebra.be", "role": "Developer" } ], @@ -33,12 +33,12 @@ }, "autoload": { "psr-4": { - "NextApps\\PoeditorSync\\": "src" + "Wotz\\PoeditorSync\\": "src" } }, "autoload-dev": { "psr-4": { - "NextApps\\PoeditorSync\\Tests\\": "tests" + "Wotz\\PoeditorSync\\Tests\\": "tests" } }, "scripts": { @@ -53,7 +53,7 @@ "extra": { "laravel": { "providers": [ - "NextApps\\PoeditorSync\\PoeditorSyncServiceProvider" + "Wotz\\PoeditorSync\\PoeditorSyncServiceProvider" ] } } diff --git a/src/Commands/DownloadCommand.php b/src/Commands/DownloadCommand.php index 5c23d43..3a5f21a 100644 --- a/src/Commands/DownloadCommand.php +++ b/src/Commands/DownloadCommand.php @@ -1,11 +1,11 @@