jenkins-bot has submitted this change and it was merged.

Change subject: Normalize i18n message keys
......................................................................


Normalize i18n message keys

Bug: T142069
Change-Id: I1dde11a9bd90d841eeab4f9db879ea0f35e92ec0
---
M extension.json
M i18n/en.json
M i18n/qqq.json
M resources/src/fileannotations.js
4 files changed, 23 insertions(+), 23 deletions(-)

Approvals:
  Bartosz Dziewoński: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/extension.json b/extension.json
index 93aa6a6..e2adb42 100644
--- a/extension.json
+++ b/extension.json
@@ -57,12 +57,12 @@
                        ],
 
                        "messages": [
-                               "fileannotation-create",
-                               "file-has-annotations",
-                               "save-fileannotation",
-                               "cancel-fileannotation",
-                               "edit-fileannotation",
-                               "delete-fileannotation",
+                               "fileannotations-create",
+                               "fileannotations-file-has-annotations",
+                               "fileannotations-save",
+                               "fileannotations-cancel",
+                               "fileannotations-edit",
+                               "fileannotations-delete",
                                "fileannotations-commons-see-more"
                        ]
                }
diff --git a/i18n/en.json b/i18n/en.json
index 63b3194..786f46a 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -3,13 +3,13 @@
                "authors": []
        },
        "fileannotations-desc": "Displays and edits annotations on file pages.",
-       "file-has-annotations": "There are annotations on this file. Mouse over 
the image to view them.",
+       "fileannotations-file-has-annotations": "There are annotations on this 
file. Mouse over the image to view them.",
        "fileannotations-tab": "Annotations",
-       "fileannotation-create": "Add file annotation",
-       "save-fileannotation": "Save",
-       "cancel-fileannotation": "Cancel",
-       "edit-fileannotation": "Edit",
-       "delete-fileannotation": "Delete",
+       "fileannotations-create": "Add file annotation",
+       "fileannotations-save": "Save",
+       "fileannotations-cancel": "Cancel",
+       "fileannotations-edit": "Edit",
+       "fileannotations-delete": "Delete",
 
        "fileannotations-commons-see-more": "See more images",
 
diff --git a/i18n/qqq.json b/i18n/qqq.json
index af7289f..8b6d536 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -3,13 +3,13 @@
                "authors": []
        },
        "fileannotations-desc": "Description of the FileAnnotations extension.",
-       "file-has-annotations": "Note on file page indicating the file has 
annotations.",
+       "fileannotations-file-has-annotations": "Note on file page indicating 
the file has annotations.",
        "fileannotations-tab": "Text for a tab that links to the file 
annotations page from the file page.",
-       "fileannotation-create": "Text of a button to create a new annotation 
on a file.",
-       "save-fileannotation": "Text of a button to save a new or edited 
annotation.",
-       "cancel-fileannotation": "Text of a button that cancels creating or 
editing an annotation.",
-       "edit-fileannotation": "Text of a button to begin editing an 
annotation.",
-       "delete-fileannotation": "Text of a button to delete an annotation.",
+       "fileannotations-create": "Text of a button to create a new annotation 
on a file.",
+       "fileannotations-save": "Text of a button to save a new or edited 
annotation.",
+       "fileannotations-cancel": "Text of a button that cancels creating or 
editing an annotation.",
+       "fileannotations-edit": "Text of a button to begin editing an 
annotation.",
+       "fileannotations-delete": "Text of a button to delete an annotation.",
        "fileannotations-commons-see-more": "Shown on an annotation that is a 
Commons category, allows the user to go to the category page to see more 
images.",
        "fileannotations-go-to-filepage": "Appears on the file annotations page 
to encourage users to go to the file page to interact with the content. $1 is 
the file page title, including namespace, suitable for inclusion in a wikilink. 
The message will be parsed. Remember to put a colon (:) in front of the file 
page title, or the message will put the whole image into the page."
 }
diff --git a/resources/src/fileannotations.js b/resources/src/fileannotations.js
index 7cf01ab..2099716 100644
--- a/resources/src/fileannotations.js
+++ b/resources/src/fileannotations.js
@@ -71,7 +71,7 @@
 
                                // Make it possible to create new annotations 
graphically.
                                createButton = new OO.ui.ButtonWidget( {
-                                       label: mw.message( 
'fileannotation-create' ).text(),
+                                       label: mw.message( 
'fileannotations-create' ).text(),
                                        icon: 'add',
                                        flags: [ 'constructive' ]
                                } );
@@ -228,12 +228,12 @@
                                multiline: true
                        } ),
                        annotationSave = new OO.ui.ButtonWidget( {
-                               label: mw.message( 'save-fileannotation' 
).text(),
+                               label: mw.message( 'fileannotations-save' 
).text(),
                                icon: 'check',
                                flags: [ 'constructive', 'primary' ]
                        } ),
                        annotationCancel = new OO.ui.ButtonWidget( {
-                               label: mw.message( 'cancel-fileannotation' 
).text(),
+                               label: mw.message( 'fileannotations-cancel' 
).text(),
                                icon: 'cancel',
                                flags: [ 'safe' ]
                        } ),
@@ -391,12 +391,12 @@
 
                if ( this.editing ) {
                        editButton = new OO.ui.ButtonWidget( {
-                               label: mw.message( 'edit-fileannotation' 
).text(),
+                               label: mw.message( 'fileannotations-edit' 
).text(),
                                flags: [ 'progressive' ]
                        } );
 
                        deleteButton = new OO.ui.ButtonWidget( {
-                               label: mw.message( 'delete-fileannotation' 
).text(),
+                               label: mw.message( 'fileannotations-delete' 
).text(),
                                flags: [ 'destructive' ]
                        } );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/310353
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1dde11a9bd90d841eeab4f9db879ea0f35e92ec0
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/FileAnnotations
Gerrit-Branch: master
Gerrit-Owner: MarkTraceur <mholmqu...@wikimedia.org>
Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to