From 589a0ed0aab12a49ac2286820b481366082e1f6a Mon Sep 17 00:00:00 2001 From: Bob Date: Fri, 13 Dec 2024 10:25:38 +0100 Subject: [PATCH] Updated readme --- README.md | 8 -------- src/ServiceProvider.php | 1 - 2 files changed, 9 deletions(-) diff --git a/README.md b/README.md index 49d2604..4fa3aab 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ -# WIP -This addon is still a WIP. - # Statamic Translation Management > Statamic Translation Management is a Statamic addon that allows you to add/edit translations. @@ -25,11 +22,6 @@ php artisan vendor:publish --provider="Spatie\TranslationLoader\TranslationServi php artisan migrate ``` -This addon adds two custom field types, if you want to use them include the script in your cp.js. -```js -import 'Vendor/justbetter/statamic-translation-management/resources/js/translation-manager.js' -``` - ## How to Use This addon adds a "translations" menu item in the control panel through [Runway](https://github.com/statamic-rad-pack/runway). Here you can add/edit the translations. \ No newline at end of file diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 94a204a..fc2ef05 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -35,7 +35,6 @@ protected function bootRunway(): self config(['runway.resources' => array_merge( [LanguageLine::class => [ 'name' => 'Translations', - 'primary_column' => 'key', ]], config('runway.resources') ?? [] )]);