Adding a snippet for a Laravel language translation file

This commit is contained in:
Brian 2021-06-22 09:29:15 -06:00
parent 51bd3c9c6e
commit a3f0e7dfd3
Signed by: brian
GPG Key ID: DE1A5390A3B84CD8

View 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>