loleaflet/src/layer/AnnotationManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d4570130fe368caa42442f2e635d5d8ac181266f Author: Henry Castro <hcas...@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()) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits