Bump Cockpit pkg/lib to 249
Cockpit 247 changed cockpit-po-plugin.js to always expect a line number
in msgid references [1]. Also sync manifest2po from Cockpit 249 to
generate that reference for manifests, so that they keep getting
included into the translation js.
[1] 0ecc3a705d
This commit is contained in:
parent
0016765d01
commit
3d227bcb36
3 changed files with 5 additions and 5 deletions
|
|
@ -100,7 +100,7 @@ function process_keywords(keywords) {
|
|||
v.matches.forEach(keyword =>
|
||||
push({
|
||||
msgid: keyword,
|
||||
locations: [ filename ]
|
||||
locations: [ filename + ":0" ]
|
||||
})
|
||||
);
|
||||
});
|
||||
|
|
@ -110,7 +110,7 @@ function process_docs(docs) {
|
|||
docs.forEach(doc => {
|
||||
push({
|
||||
msgid: doc.label,
|
||||
locations: [ filename ]
|
||||
locations: [ filename + ":0" ]
|
||||
})
|
||||
});
|
||||
}
|
||||
|
|
@ -120,7 +120,7 @@ function process_menu(menu) {
|
|||
if (menu[m].label) {
|
||||
push({
|
||||
msgid: menu[m].label,
|
||||
locations: [ filename ]
|
||||
locations: [ filename + ":0" ]
|
||||
});
|
||||
}
|
||||
if (menu[m].keywords)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue