[Libreoffice-commits] online.git: loleaflet/src

Henry Castro hcastro at collabora.com
Thu Feb 16 13:44:35 UTC 2017


 loleaflet/src/layer/AnnotationManager.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d4570130fe368caa42442f2e635d5d8ac181266f
Author: Henry Castro <hcastro at collabora.com>
Date:   Thu Feb 16 09:46:17 2017 -0400

    loleaflet: fix annotation author name

diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js
index 92ee3f6..26d0a76 100644
--- a/loleaflet/src/layer/AnnotationManager.js
+++ b/loleaflet/src/layer/AnnotationManager.js
@@ -273,7 +273,7 @@ L.Map.include({
 		this._docLayer._annotations.add({
 			text: '',
 			textrange: '',
-			author: _('You'),
+			author: this.getViewName(this._docLayer._viewId),
 			dateTime: new Date().toDateString(),
 			id: 'new',
 			anchorPos:  this._docLayer._latLngToTwips(this._docLayer._visibleCursor.getNorthWest())


More information about the Libreoffice-commits mailing list