Skip to content

Commit

Permalink
fix: fix life event 'Got a tattoo or piercing' misspell (monicahq#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Oct 19, 2018
1 parent 7e2da3b commit 2670db9
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public function up()
'updated_at' => now(),
]);
DB::table('default_life_event_types')->insert([
'translation_key' => 'tatoo_or_piercing',
'translation_key' => 'tattoo_or_piercing',
'default_life_event_category_id' => $defaultCategoryId,
'created_at' => now(),
'updated_at' => now(),
Expand Down
28 changes: 28 additions & 0 deletions database/migrations/2018_10_19_081816_life_event_tattoo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

use Illuminate\Support\Facades\DB;
use Illuminate\Database\Migrations\Migration;

class LifeEventTattoo extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('default_life_event_types')
->where('translation_key', 'tatoo_or_piercing')
->update([
'translation_key' => 'tattoo_or_piercing',
]);

DB::table('life_event_types')
->where('default_life_event_type_key', 'tatoo_or_piercing')
->update([
'default_life_event_type_key' => 'tattoo_or_piercing',
'name' => trans('settings.personalization_life_event_type_tattoo_or_piercinge', [], 'en'),
]);
}
}
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/langs/en.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/js/app.js": "/js/app.js?id=464ed60abd73a777832e",
"/js/app.js": "/js/app.js?id=06cf7d3943c971315cac",
"/css/app-ltr.css": "/css/app-ltr.css?id=aeed1bc1277811d4283c",
"/css/app-rtl.css": "/css/app-rtl.css?id=ebbe907f4e5cf0c8bd1a",
"/css/stripe.css": "/css/stripe.css?id=64c68c04c4e475fcc7c6",
Expand Down
2 changes: 1 addition & 1 deletion resources/lang/en/people.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
'life_event_sentence_new_hobby' => 'Started a hobby',
'life_event_sentence_new_instrument' => 'Learned a new instrument',
'life_event_sentence_new_language' => 'Learned a new language',
'life_event_sentence_tatoo_or_piercing' => 'Got a tatoo or piercing',
'life_event_sentence_tattoo_or_piercing' => 'Got a tattoo or piercing',
'life_event_sentence_new_license' => 'Got a license',
'life_event_sentence_travel' => 'Traveled',
'life_event_sentence_achievement_or_award' => 'Got an achievement or award',
Expand Down
2 changes: 1 addition & 1 deletion resources/lang/en/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
'personalization_life_event_type_new_hobby' => 'New hobby',
'personalization_life_event_type_new_instrument' => 'New instrument',
'personalization_life_event_type_new_language' => 'New language',
'personalization_life_event_type_tatoo_or_piercing' => 'Tatoo or piercing',
'personalization_life_event_type_tattoo_or_piercing' => 'Tattoo or piercing',
'personalization_life_event_type_new_license' => 'New license',
'personalization_life_event_type_travel' => 'Travel',
'personalization_life_event_type_achievement_or_award' => 'Achievement or award',
Expand Down

0 comments on commit 2670db9

Please sign in to comment.