-
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
e34da43
commit 2517ba3
Showing
9 changed files
with
265 additions
and
46 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
69 changes: 69 additions & 0 deletions
69
src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.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,69 @@ | ||
namespace SmartStore.Data.Migrations | ||
{ | ||
using System; | ||
using System.Data.Entity.Migrations; | ||
using SmartStore.Data.Setup; | ||
|
||
public partial class V322Resources : 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."); | ||
|
||
builder.AddOrUpdate("Checkout.OrderCompletes", | ||
"Your order will be completed.", | ||
"Ihre Bestellung wird abgeschlossen."); | ||
|
||
builder.AddOrUpdate("Admin.Catalog.Attributes.CheckoutAttributes.Fields.TextPrompt", | ||
"Text prompt", | ||
"Text Eingabeaufforderung", | ||
"Specifies the prompt text.", | ||
"Legt den Text zur Eingabeaufforderung fest."); | ||
|
||
builder.AddOrUpdate("Admin.Catalog.Products.ProductVariantAttributes.Attributes.Fields.TextPrompt", | ||
"Text prompt", | ||
"Text Eingabeaufforderung"); | ||
|
||
builder.AddOrUpdate("Admin.Catalog.Categories.Fields.ExternalLink", | ||
"External link", | ||
"Externer Link", | ||
"Alternative external link for this category in the main menu and in category listings. For example, to a landing page that contains a back link to the category.", | ||
"Abweichender, externer Verweis für diese Warengruppe im Hauptmenü und in Warengruppen-Listings. Z.B. auf eine Landingpage, die einen Rückverweis auf die Warengruppe enthält."); | ||
|
||
builder.AddOrUpdate("Admin.ContentManagement.Menus.Title", | ||
"Title", | ||
"Titel", | ||
"Specifies the title. Please keep in mind that this title is not displayed in all design templates.", | ||
"Legt den Titel fest. Bitte beachten Sie, dass dieser Titel nicht bei allen Design-Vorlagen ausgegeben wird."); | ||
|
||
builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.InvalidRouteValues", | ||
"Please check the link data. No link can be created on the basis of your input.", | ||
"Bitte überprüfen Sie die Link-Daten. Auf Basis Ihrer Eingabe kann kein Link erzeugt werden."); | ||
|
||
builder.AddOrUpdate("Admin.Packaging.IsIncompatible", | ||
"The package is not compatible the current app version {0}. Please update Smartstore.NET or install another version of this package.", | ||
"Das Paket ist nicht kompatibel mit der aktuellen Programmversion {0}. Bitte aktualisieren Sie Smartstore.NET oder nutzen Sie eine andere, kompatible Paket-Version."); | ||
} | ||
} | ||
} |
126 changes: 126 additions & 0 deletions
126
src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.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
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
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 @@ | ||
201905271110370_V321Resources | ||
201908150749388_V322Resources |
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/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 @@ | ||
201905271110370_V321Resources | ||
201908150749388_V322Resources |