Skip to content

Commit 7e206f4

Browse files
committed
Remove placeholder translation
Doesn't work as expected. Translation is still possible via config or the Laravel Nova translation files.
1 parent e401414 commit 7e206f4

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

dist/js/filter.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/filter.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mix-manifest.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"/js/filter.js": "/js/filter.js?id=ad8392114f895dc66243",
2+
"/js/filter.js": "/js/filter.js?id=4266e70cb7a54dc0da12",
33
"/css/filter.css": "/css/filter.css?id=f3ba983b895c4611d7b4",
4-
"/js/filter.js.map": "/js/filter.js.map?id=da8df9a56fe36fa6f24b",
4+
"/js/filter.js.map": "/js/filter.js.map?id=18ca3423b59009eae08e",
55
"/css/filter.css.map": "/css/filter.css.map?id=3a7186ee9f42604ffbf2"
6-
}
6+
}

resources/lang/de/filter.json

-3
This file was deleted.

src/FilterServiceProvider.php

-7
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,12 @@ class FilterServiceProvider extends ServiceProvider
1010
{
1111
protected const JS_FILE = __DIR__ . '/../dist/js/filter.js';
1212
protected const CSS_FILE = __DIR__ . '/../dist/css/filter.css';
13-
protected const LANGUAGE_FILES = [
14-
'de' => __DIR__ . '/../resources/lang/de/filter.json',
15-
];
1613

1714
public function boot(): void
1815
{
1916
Nova::serving(static function () {
2017
Nova::script('date-range-filter', self::JS_FILE);
2118
Nova::style('date-range-filter', self::CSS_FILE);
22-
23-
foreach (self::LANGUAGE_FILES as $languageFile) {
24-
Nova::translations($languageFile);
25-
}
2619
});
2720
}
2821
}

0 commit comments

Comments
 (0)