Skip to content

Commit 4bb96f8

Browse files
authored
Merge pull request #3719 from Laravel-Backpack/langfilemanager-translation
Added missing LangFileManager translation links
2 parents 8f8897c + cc2a0bd commit 4bb96f8

31 files changed

+496
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// --------------------------------------------------------
4+
// This is only a pointer file, not an actual language file
5+
// --------------------------------------------------------
6+
//
7+
// If you've copied this file to your /resources/lang/vendor/backpack/
8+
// folder, please delete it, it's no use there. You need to copy/publish the
9+
// actual language file, from the package.
10+
11+
// If a langfile with the same name exists in the package, load that one
12+
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
13+
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
14+
}
15+
16+
return [];

0 commit comments

Comments
 (0)