Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare spark for Localization - JSON #668

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 157 additions & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"Name": "Name",
"E-Mail Address": "E-Mail Address",
"Password": "Password",
"Confirm Password": "Confirm Password",
"Emergency Token": "Emergency Token",
"Address": "Address",
"Address Line 2": "Address Line 2",
"City": "City",
"State": "State",
"Postal Code": "Postal Code",
"Country": "Country",
"ZIP / Postal Code": "ZIP / Postal Code",
"State & ZIP / Postal Code": "State & ZIP / Postal Code",
"VAT ID": "VAT ID",
"Coupon Code": "Coupon Code",
"Joined": "Joined",

"Create :Team": "Create :Team",
":Team Trial": ":Team Trial",
":Team Name": ":Team Name",
":Team Slug": ":Team Slug",
"This slug is used to identify your team in URLs.": "This slug is used to identify your team in URLs.",
"Where's Your :Team?": "Where's Your :Team?",
"It looks like you're not part of any :teams! You can create one in your :settings.": "It looks like you're not part of any :teams! You can create one in your :settings.",

"N/A": "N/A",
"None": "None",
"Close": "Close",
"Cancel": "Cancel",
"Selected": "Selected",
"Select": "Select",
"Loading": "Loading",
"Toggle Navigation": "Toggle Navigation",
"Back To My Account": "Back To My Account",
"Support": "Support",
"Email Us": "Email Us",
"Amount": "Amount",
"Percentage": "Percentage",
"Once": "Once",
"Forever": "Forever",
"Months": "Months",
"Multiple Months": "Multiple Months",
"Applying": "Applying",
"Create": "Create",
"Date": "Date",
"Update": "Update",
"No, Go Back": "No, Go Back",
"Yes, Delete": "Yes, Delete",
"From Last Month": "From Last Month",
"From Last Year": "From Last Year",
"Search Results": "Search Results",
"Searching": "Searching",
"Go To Login": "Go To Login",
"Your Email Address": "Your Email Address",
"Subject": "Subject",
"Message": "Message",
"Send": "Send",

"Notifications": "Notifications",
"Loading Notifications": "Loading Notifications",
"Announcement": "Announcement",
"Announcements": "Announcements",
"Recent Announcements": "Recent Announcements",
"Update Announcement": "Update Announcement",
"Create Announcement": "Create Announcement",
"Delete Announcement": "Delete Announcement",
"Action Button Text": "Action Button Text",
"Action Button URL": "Action Button URL",

"We don't have anything to show you right now! But when we do, we'll be sure to let you know. Talk to you soon!": "We don't have anything to show you right now! But when we do, we'll be sure to let you know. Talk to you soon!",
"Are you sure you want to delete this announcement?": "Are you sure you want to delete this announcement?",
"Announcements you create here will be sent to the \"Product Announcements\" section of the notifications modal window, informing your users about new features and improvements to your application.": "Announcements you create here will be sent to the \"Product Announcements\" section of the notifications modal window, informing your users about new features and improvements to your application.",

"Login": "Login",
"Logout": "Logout",
"Profile": "Profile",
"Registering": "Registering",
"Register": "Register",
"Reset Password": "Reset Password",
"Send Password Reset Link": "Send Password Reset Link",
"Login Via Emergency Token": "Login Via Emergency Token",
"Remember Me": "Remember Me",
"Forgot Your Password?": "Forgot Your Password?",
"Two-Factor Authentication": "Two-Factor Authentication",
"Authentication Token": "Authentication Token",
"Verify": "Verify",
"Lost Your Device?": "Lost Your Device?",
"Session Expired": "Session Expired",
"Your session has expired. Please login again to continue.": "Your session has expired. Please login again to continue.",

"Billing": "Billing",
"Billing Information": "Billing Information",
"Billing Address": "Billing Address",
"Discount": "Discount",
"Monthly": "Monthly",
"Yearly": "Yearly",
"Free": "Free",
"Credit Card": "Credit Card",
"Card Number": "Card Number",
"Cardholder's Name": "Cardholder's Name",
"Expiration": "Expiration",
"Security Code": "Security Code",
"Subscribe": "Subscribe",
"Subscribers": "Subscribers",
"Subscription": "Subscription",
"Payment Method": "Payment Method",
"Plan Features": "Plan Features",
":days Day Trial": ":days Day Trial",
"Terms Of Service": "Terms Of Service",
"I Accept The :terms": "I Accept The :terms",
"Invoices": "Invoices",
"Tax": "Tax",
"Trial": "Trial",
"Trialing": "Trialing",
"On Generic Trial": "On Generic Trial",
"Total Price Including Tax": "Total Price Including Tax",
"All subscription plan prices are excluding applicable VAT.": "All subscription plan prices are excluding applicable VAT.",

"Whoops!": "Whoops!",
"Something went wrong!": "Something went wrong!",

"Whoops! This coupon code is invalid.": "Whoops! This coupon code is invalid.",
"The coupon's :discount discount will be applied to your subscription!": "The coupon's :discount discount will be applied to your subscription!",

"Whoops! This invitation code is invalid.": "Whoops! This invitation code is invalid.",
"We found your invitation to the :name :team!": "We found your invitation to the :name :team!",

"Kiosk": "Kiosk",
"Impersonation": "Impersonation",
"Developer": "Developer",
"Metrics": "Metrics",
"Users": "Users",
"Add Discount": "Add Discount",
"Apply Discount": "Apply Discount",
"Discount Type": "Discount Type",
"Discount Duration": "Discount Duration",
"Monthly Recurring Revenue": "Monthly Recurring Revenue",
"Yearly Recurring Revenue": "Yearly Recurring Revenue",
"Users Currently Trialing": "Users Currently Trialing",
"Total Revenue": "Total Revenue",
"Total Volume": "Total Volume",
"Daily Volume": "Daily Volume",
"New Users": "New Users",

"No users matched the given criteria.": "No users matched the given criteria.",
"Search By Name Or E-Mail Address...": "Search By Name Or E-Mail Address...",
"This user has a discount of :discount for :duration.": "This user has a discount of :discount for :duration.",

"Settings": "Settings",
"Your Settings": "Your Settings",
"Security": "Security",
"API": "API",

"We had trouble validating your card. It's possible your card provider is preventing us from charging the card. Please contact your card provider or customer support.": "We had trouble validating your card. It's possible your card provider is preventing us from charging the card. Please contact your card provider or customer support.",
"After logging in via your emergency token, two-factor authentication will be disabled for your account. If you would like to maintain two-factor authentication security, you should re-enable it after logging in.": "After logging in via your emergency token, two-factor authentication will be disabled for your account. If you would like to maintain two-factor authentication security, you should re-enable it after logging in."
}
10 changes: 4 additions & 6 deletions resources/views/auth/login-via-emergency-token.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,22 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Login Via Emergency Token</div>
<div class="panel-heading">@lang('Login Via Emergency Token')</div>

<div class="panel-body">
@include('spark::shared.errors')

<!-- Warning Message -->
<div class="alert alert-warning">
After logging in via your emergency token, two-factor authentication will be
disabled for your account. If you would like to maintain two-factor
authentication security, you should re-enable it after logging in.
@lang('After logging in via your emergency token, two-factor authentication will be disabled for your account. If you would like to maintain two-factor authentication security, you should re-enable it after logging in.')
</div>

<form class="form-horizontal" role="form" method="POST" action="/login-via-emergency-token">
{{ csrf_field() }}

<!-- Emergency Token -->
<div class="form-group">
<label class="col-md-4 control-label">Emergency Token</label>
<label class="col-md-4 control-label">@lang('Emergency Token')</label>

<div class="col-md-6">
<input type="password" class="form-control" name="token" autofocus>
Expand All @@ -33,7 +31,7 @@
<div class="form-group">
<div class="col-md-8 col-md-offset-4">
<button type="submit" class="btn btn-primary">
<i class="fa fa-btn fa-sign-in"></i>Login
<i class="fa fa-btn fa-sign-in"></i>@lang('Login')
</button>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Login</div>
<div class="panel-heading">@lang('Login')</div>

<div class="panel-body">
@include('spark::shared.errors')
Expand All @@ -15,7 +15,7 @@

<!-- E-Mail Address -->
<div class="form-group">
<label class="col-md-4 control-label">E-Mail Address</label>
<label class="col-md-4 control-label">@lang('E-Mail Address')</label>

<div class="col-md-6">
<input type="email" class="form-control" name="email" value="{{ old('email') }}" autofocus>
Expand All @@ -24,7 +24,7 @@

<!-- Password -->
<div class="form-group">
<label class="col-md-4 control-label">Password</label>
<label class="col-md-4 control-label">@lang('Password')</label>

<div class="col-md-6">
<input type="password" class="form-control" name="password">
Expand All @@ -36,7 +36,7 @@
<div class="col-md-6 col-md-offset-4">
<div class="checkbox">
<label>
<input type="checkbox" name="remember"> Remember Me
<input type="checkbox" name="remember"> @lang('Remember Me')
</label>
</div>
</div>
Expand All @@ -46,10 +46,10 @@
<div class="form-group">
<div class="col-md-8 col-md-offset-4">
<button type="submit" class="btn btn-primary">
<i class="fa m-r-xs fa-sign-in"></i>Login
<i class="fa m-r-xs fa-sign-in"></i>@lang('Login')
</button>

<a class="btn btn-link" href="{{ url('/password/reset') }}">Forgot Your Password?</a>
<a class="btn btn-link" href="{{ url('/password/reset') }}">@lang('Forgot Your Password?')</a>
</div>
</div>
</form>
Expand Down
6 changes: 3 additions & 3 deletions resources/views/auth/passwords/email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-heading">@lang('Reset Password')</div>

<div class="panel-body">
@if (session('status'))
Expand All @@ -20,7 +20,7 @@

<!-- E-Mail Address -->
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">E-Mail Address</label>
<label class="col-md-4 control-label">@lang('E-Mail Address')</label>

<div class="col-md-6">
<input type="email" class="form-control" name="email" value="{{ old('email') }}" autofocus>
Expand All @@ -37,7 +37,7 @@
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">
<i class="fa fa-btn fa-envelope"></i>Send Password Reset Link
<i class="fa fa-btn fa-envelope"></i>@lang('Send Password Reset Link')
</button>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions resources/views/auth/passwords/reset.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-heading">@lang('Reset Password')</div>

<div class="panel-body">
<form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}">
Expand All @@ -15,7 +15,7 @@

<!-- E-Mail Address -->
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">E-Mail Address</label>
<label class="col-md-4 control-label">@lang('E-Mail Address')</label>

<div class="col-md-6">
<input type="email" class="form-control" name="email" value="{{ $email or old('email') }}" autofocus>
Expand All @@ -30,7 +30,7 @@

<!-- Password -->
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">Password</label>
<label class="col-md-4 control-label">@lang('Password')</label>

<div class="col-md-6">
<input type="password" class="form-control" name="password">
Expand All @@ -45,7 +45,7 @@

<!-- Password Confirmation -->
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">Confirm Password</label>
<label class="col-md-4 control-label">@lang('Confirm Password')</label>
<div class="col-md-6">
<input type="password" class="form-control" name="password_confirmation">

Expand All @@ -61,7 +61,7 @@
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">
<i class="fa fa-btn fa-refresh"></i>Reset Password
<i class="fa fa-btn fa-refresh"></i>@lang('Reset Password')
</button>
</div>
</div>
Expand Down
16 changes: 8 additions & 8 deletions resources/views/auth/register-address.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Address -->
<div class="form-group" :class="{'has-error': registerForm.errors.has('address')}">
<label class="col-md-4 control-label">Address</label>
<label class="col-md-4 control-label">@lang('Address')</label>

<div class="col-sm-6">
<input type="text" class="form-control" v-model="registerForm.address" lazy>
Expand All @@ -13,7 +13,7 @@

<!-- Address Line 2 -->
<div class="form-group" :class="{'has-error': registerForm.errors.has('address_line_2')}">
<label class="col-md-4 control-label">Address Line 2</label>
<label class="col-md-4 control-label">@lang('Address Line 2')</label>

<div class="col-sm-6">
<input type="text" class="form-control" v-model="registerForm.address_line_2" lazy>
Expand All @@ -26,7 +26,7 @@

<!-- City -->
<div class="form-group" :class="{'has-error': registerForm.errors.has('city')}">
<label class="col-md-4 control-label">City</label>
<label class="col-md-4 control-label">@lang('City')</label>

<div class="col-sm-6">
<input type="text" class="form-control" v-model.lazy="registerForm.city">
Expand All @@ -39,11 +39,11 @@

<!-- State & ZIP Code -->
<div class="form-group" :class="{'has-error': registerForm.errors.has('state')}">
<label class="col-md-4 control-label">State & ZIP / Postal Code</label>
<label class="col-md-4 control-label">@lang('State & ZIP / Postal Code')</label>

<!-- State -->
<div class="col-sm-3">
<input type="text" class="form-control" placeholder="State" v-model.lazy="registerForm.state">
<input type="text" class="form-control" placeholder="@lang('State')" v-model.lazy="registerForm.state">

<span class="help-block" v-show="registerForm.errors.has('state')">
@{{ registerForm.errors.get('state') }}
Expand All @@ -52,7 +52,7 @@

<!-- Zip Code -->
<div class="col-sm-3">
<input type="text" class="form-control" placeholder="Postal Code" v-model.lazy="registerForm.zip">
<input type="text" class="form-control" placeholder="@lang('Postal Code')" v-model.lazy="registerForm.zip">

<span class="help-block" v-show="registerForm.errors.has('zip')">
@{{ registerForm.errors.get('zip') }}
Expand All @@ -62,7 +62,7 @@

<!-- Country -->
<div class="form-group" :class="{'has-error': registerForm.errors.has('country')}">
<label class="col-md-4 control-label">Country</label>
<label class="col-md-4 control-label">@lang('Country')</label>

<div class="col-sm-6">
<select class="form-control" v-model.lazy="registerForm.country">
Expand All @@ -79,7 +79,7 @@

<!-- European VAT ID -->
<div class="form-group" :class="{'has-error': registerForm.errors.has('vat_id')}" v-if="countryCollectsVat">
<label class="col-md-4 control-label">VAT ID</label>
<label class="col-md-4 control-label">@lang('VAT ID')</label>

<div class="col-sm-6">
<input type="text" class="form-control" v-model.lazy="registerForm.vat_id">
Expand Down
Loading