diff --git a/src/Yavsc.Server/Models/Messaging/LiveFlow.cs b/src/Yavsc.Server/Models/Messaging/LiveFlow.cs
index c8efdcc3..134dcb96 100644
--- a/src/Yavsc.Server/Models/Messaging/LiveFlow.cs
+++ b/src/Yavsc.Server/Models/Messaging/LiveFlow.cs
@@ -8,7 +8,7 @@ namespace Yavsc.Models.Streaming
public partial class LiveFlow : ILiveFlow {
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
- [Display(Name="FlowIdLabel")]
+ [Display(Name="FlowIdLabel", ResourceType=typeof(LiveFlow))]
// set by the server, unique
public long Id { get; set; }
@@ -18,31 +18,33 @@ namespace Yavsc.Models.Streaming
///
///
[StringLength(255)]
- [Display(Name="TitleLabel")]
+ [Display(Name="TitleLabel", ResourceType=typeof(LiveFlow))]
public string Title { get; set; }
// a little description
[StringLength(1023)]
- [Display(Name="PitchLabel")]
+ [Display(Name="PitchLabel", ResourceType=typeof(LiveFlow))]
public string Pitch { get; set; }
// The stream type
[StringLength(127)]
- [Display(Name="MediaTypeLabel")]
+ [Display(Name="MediaTypeLabel", ResourceType=typeof(LiveFlow))]
public string MediaType { get; set; }
// A name where to save this stream, relative to user's files root
[StringLength(255)]
- [Display(Name="DifferedFileNameLabel")]
+ [Display(Name="DifferedFileNameLabel", ResourceType=typeof(LiveFlow))]
public string DifferedFileName { get; set; }
+
+ [Display(Name="SequenceNumberLabel", ResourceType=typeof(LiveFlow))]
public int SequenceNumber { get; set; }
[Required]
- [Display(Name="OwnerIdLabel")]
+ [Display(Name="OwnerIdLabel", ResourceType=typeof(LiveFlow))]
public string OwnerId {get; set; }
[ForeignKey("OwnerId")]
- [Display(Name="OwnerLabel")]
+ [Display(Name="OwnerLabel", ResourceType=typeof(LiveFlow))]
public virtual ApplicationUser Owner { get; set; }
}
diff --git a/src/Yavsc.Server/Resources/Yavsc.Models.Streaming.LiveFlow.resx b/src/Yavsc.Server/Resources/Yavsc.Models.Streaming.LiveFlow.resx
index e0aa7371..641094f9 100644
--- a/src/Yavsc.Server/Resources/Yavsc.Models.Streaming.LiveFlow.resx
+++ b/src/Yavsc.Server/Resources/Yavsc.Models.Streaming.LiveFlow.resx
@@ -64,7 +64,7 @@
Nom de fichier pour le différé
Type de média
Le pitch
- Numéro de séauence
+ Numéro de séquence
Titre
Identifiant du flux
Identifiant du propriétaire
diff --git a/src/Yavsc/Resources/Yavsc.YavscLocalisation.Designer.cs b/src/Yavsc/Resources/Yavsc.YavscLocalisation.Designer.cs
index 636ba9ac..7f4b1753 100644
--- a/src/Yavsc/Resources/Yavsc.YavscLocalisation.Designer.cs
+++ b/src/Yavsc/Resources/Yavsc.YavscLocalisation.Designer.cs
@@ -1711,6 +1711,12 @@ namespace Yavsc {
}
}
+ public static string User {
+ get {
+ return ResourceManager.GetString("User", resourceCulture);
+ }
+ }
+
public static string User_List {
get {
return ResourceManager.GetString("User List", resourceCulture);
@@ -2082,5 +2088,11 @@ namespace Yavsc {
return ResourceManager.GetString("Fire", resourceCulture);
}
}
+
+ public static string LiveFlow {
+ get {
+ return ResourceManager.GetString("LiveFlow", resourceCulture);
+ }
+ }
}
}
diff --git a/src/Yavsc/Resources/Yavsc.YavscLocalisation.resx b/src/Yavsc/Resources/Yavsc.YavscLocalisation.resx
index 2f1ba2fa..d3633bbc 100644
--- a/src/Yavsc/Resources/Yavsc.YavscLocalisation.resx
+++ b/src/Yavsc/Resources/Yavsc.YavscLocalisation.resx
@@ -405,6 +405,7 @@
Utiliser un compte local pour se connecter
Utiliser un autre service pour se connecter
Utiliser ma position pour avoir des clients plus proches
+ Utilisateur
Liste des utilisateurs
Nom d'utilisateur
Liste des utilisateurs assumant le rôle "{0}"
@@ -499,4 +500,5 @@ Facture réglée: {5}
joindre
Enrôler
Licencier
+Flux live
diff --git a/src/Yavsc/Views/Activity/Create.cshtml b/src/Yavsc/Views/Activity/Create.cshtml
index 33f7ef2c..6d6bc767 100644
--- a/src/Yavsc/Views/Activity/Create.cshtml
+++ b/src/Yavsc/Views/Activity/Create.cshtml
@@ -1,14 +1,14 @@
@model Activity
@{
- ViewData["Title"] = "Create";
+ ViewData["Title"] = @SR["Create"];
}
-
Create
+@SR["Create"]