Adding a snippet for a Laravel language translation file
This commit is contained in:
parent
51bd3c9c6e
commit
a3f0e7dfd3
40
Packages/User/laravel_lang.sublime-snippet
Normal file
40
Packages/User/laravel_lang.sublime-snippet
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<snippet>
|
||||||
|
<content><![CDATA[
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| ${1} Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| ${2:-}
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
// General language lines go here.
|
||||||
|
//
|
||||||
|
|
||||||
|
// Text used as a label of some sort, not restricted to
|
||||||
|
// label HTML elements.
|
||||||
|
'labels_' => [
|
||||||
|
//
|
||||||
|
],
|
||||||
|
|
||||||
|
// Text that may really only show up in a button.
|
||||||
|
'buttons_' => [
|
||||||
|
//
|
||||||
|
],
|
||||||
|
|
||||||
|
// These will be longer status messages or short descriptions that serve
|
||||||
|
// as an informational/warning notice to the user.
|
||||||
|
'notices_' => [
|
||||||
|
//
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
|
]]></content>
|
||||||
|
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
||||||
|
<tabTrigger>laralang</tabTrigger>
|
||||||
|
<!-- Optional: Set a scope to limit where the snippet will trigger -->
|
||||||
|
<!-- <scope>source.python</scope> -->
|
||||||
|
</snippet>
|
Loading…
x
Reference in New Issue
Block a user