Skip to content

Commit

Permalink
Support for laravel translation directory #90
Browse files Browse the repository at this point in the history
Sample project
  • Loading branch information
nyavro committed Dec 24, 2020
1 parent 5478dcc commit 49215b9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/php-arrays/resources/lang/de/auth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php
$auth = array(
"one" => "eins",
"two" => "zwei",
);

// Using the short array syntax
$auths = [
"three" => "drei",
"four" => "vier",
];
?>
12 changes: 12 additions & 0 deletions examples/php-arrays/resources/lang/en/auth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php
$auth = array(
"one" => "one",
"two" => "two",
);

// Using the short array syntax
$auths = [
"three" => "three",
"four" => "four",
];
?>
1 change: 1 addition & 0 deletions examples/php-arrays/usage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php

0 comments on commit 49215b9

Please sign in to comment.