-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54da004
commit bef2b8f
Showing
6 changed files
with
199 additions
and
2 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
namespace SmartStore.Data.Migrations | ||
{ | ||
using System; | ||
using System.Data.Entity.Migrations; | ||
using SmartStore.Data.Setup; | ||
|
||
public partial class V321Resources : DbMigration, ILocaleResourcesProvider, IDataSeeder<SmartObjectContext> | ||
{ | ||
public override void Up() | ||
{ | ||
} | ||
|
||
public override void Down() | ||
{ | ||
} | ||
|
||
public bool RollbackOnFailure | ||
{ | ||
get { return false; } | ||
} | ||
|
||
public void Seed(SmartObjectContext context) | ||
{ | ||
context.MigrateLocaleResources(MigrateLocaleResources); | ||
context.SaveChanges(); | ||
} | ||
|
||
public void MigrateLocaleResources(LocaleResourcesBuilder builder) | ||
{ | ||
builder.AddOrUpdate("Admin.Configuration.Languages.NoAvailableLanguagesFound", | ||
"There were no other available languages found for version {0}. On <a href=\"https://translate.smartstore.com/\" target=\"_blank\">translate.smartstore.com</a> you will find more details about available resources.", | ||
"Es wurden keine weiteren verfügbaren Sprachen für Version {0} gefunden. Auf <a href=\"https://translate.smartstore.com/\" target=\"_blank\">translate.smartstore.com</a> finden Sie weitere Details zu verfügbaren Ressourcen."); | ||
} | ||
} | ||
} |
126 changes: 126 additions & 0 deletions
126
src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.resx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Presentation/SmartStore.Web/App_Data/Localization/App/de/head.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
201905101159134_V320Resources | ||
201905271110370_V321Resources |
2 changes: 1 addition & 1 deletion
2
src/Presentation/SmartStore.Web/App_Data/Localization/App/en/head.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
201905101159134_V320Resources | ||
201905271110370_V321Resources |