diff --git a/app/views/templates/activity_streams_photo.handlebars b/app/views/templates/activity_streams_photo.handlebars
new file mode 100644
index 000000000..6908cb400
--- /dev/null
+++ b/app/views/templates/activity_streams_photo.handlebars
@@ -0,0 +1,3 @@
+
+
+
diff --git a/app/views/templates/activity_streams_photo.jst b/app/views/templates/activity_streams_photo.jst
deleted file mode 100644
index 1c779bf95..000000000
--- a/app/views/templates/activity_streams_photo.jst
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/public/javascripts/app/app.js b/public/javascripts/app/app.js
index 4779a3663..1efcb82bc 100644
--- a/public/javascripts/app/app.js
+++ b/public/javascripts/app/app.js
@@ -32,4 +32,9 @@ var app = {
}
};
-$(function() { app.initialize(); });
+$(function() {
+ Handlebars.registerHelper('t', function(){
+ return Diaspora.I18n.t(arguments[0], jQuery.parseJSON(arguments[1]))
+ })
+ app.initialize();
+});
diff --git a/public/javascripts/app/views/content_view.js b/public/javascripts/app/views/content_view.js
index ba0a5feca..57dde59ab 100644
--- a/public/javascripts/app/views/content_view.js
+++ b/public/javascripts/app/views/content_view.js
@@ -23,6 +23,7 @@ app.views.Reshare = app.views.Content.extend({
});
app.views.ActivityStreams__Photo = app.views.Content.extend({
- template_name : "#activity-streams-photo-template"
+ legacyTemplate : false,
+ templateName : "activity-streams-photo"
});