aboutsummaryrefslogtreecommitdiffstats
path: root/lib/l10n/kn.js
blob: 00c9bf97cf096c740493add44b04f0b14b1db818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
OC.L10N.register(
    "lib",
    {
    "Unknown filetype" : "ಅಪರಿಚಿತ ಕಡತ ಮಾದರಿ",
    "Invalid image" : "ಅಸಾಮರ್ಥ್ಯ ಚಿತ್ರ",
    "Files" : "ಕಡತಗಳು",
    "__language_name__" : "ಕನ್ನಡ",
    "Apps" : "ಕಾರ್ಯಕ್ರಮಗಳು",
    "Settings" : "ಆಯ್ಕೆ",
    "Log out" : "ಈ ಆವೃತ್ತಿ ಇಂದ ನಿರ್ಗಮಿಸಿ",
    "Accounts" : "Accounts",
    "Email" : "ಇ-ಅಂಚೆ",
    "Address" : "ವಿಳಾಸ",
    "Sunday" : "ಭಾನುವಾರ",
    "Monday" : "ಸೋಮವಾರ",
    "Tuesday" : "ಮಂಗಳವಾರ",
    "Wednesday" : "ಬುಧವಾರ",
    "Thursday" : "ಗುರುವಾರ",
    "Friday" : "ಶುಕ್ರವಾರ",
    "Saturday" : "ಶನಿವಾರ",
    "January" : "ಜನವರಿ",
    "February" : "ಫೆಬ್ರುವರಿ",
    "March" : "ಮಾರ್ಚ್",
    "April" : "ಏಪ್ರಿಲ್",
    "May" : "ಮೇ",
    "June" : "ಜೂನ್",
    "July" : "ಜುಲೈ",
    "August" : "ಆಗಸ್ಟ್",
    "September" : "ಸೆಪ್ಟೆಂಬರ್",
    "October" : "ಅಕ್ಟೋಬರ್",
    "November" : "ನವೆಂಬರ್",
    "December" : "ಡಿಸೆಂಬರ್",
    "A valid password must be provided" : "ಸರಿಯಾದ ಬಳಕೆದಾರ ಗುಪ್ತಪದ ಒದಗಿಸಬೇಕಾಗಿದೆ",
    "Authentication error" : "ದೃಢೀಕರಣ ದೋಷ"
},
"nplurals=2; plural=(n > 1);");
) cy.login(user) cy.visit('/apps/files') })) it('See first assigned tag in the file list', () => { const tag = randomBytes(8).toString('base64') cy.intercept('PROPFIND', `**/remote.php/dav/files/${user.userId}/file.txt`).as('getNode') getRowForFile('file.txt').should('be.visible') triggerActionForFile('file.txt', 'details') cy.wait('@getNode') cy.get('[data-cy-sidebar]') .should('be.visible') .findByRole('button', { name: 'Actions' }) .should('be.visible') .click() cy.findByRole('menuitem', { name: 'Tags' }) .should('be.visible') .click() cy.intercept('PUT', '**/remote.php/dav/systemtags-relations/files/**').as('assignTag') getCollaborativeTagsInput() .type(`{selectAll}${tag}{enter}`) cy.wait('@assignTag') cy.wait('@getNode') // Close the sidebar and reload to check the file list closeSidebar() cy.reload() getRowForFile('file.txt') .findByRole('list', { name: /collaborative tags/i }) .findByRole('listitem') .should('be.visible') .and('contain.text', tag) }) it('See two assigned tags are also shown in the file list', () => { const tag1 = randomBytes(5).toString('base64') const tag2 = randomBytes(5).toString('base64') cy.intercept('PROPFIND', `**/remote.php/dav/files/${user.userId}/file.txt`).as('getNode') getRowForFile('file.txt').should('be.visible') triggerActionForFile('file.txt', 'details') cy.wait('@getNode') cy.get('[data-cy-sidebar]') .should('be.visible') .findByRole('button', { name: 'Actions' }) .should('be.visible') .click() cy.findByRole('menuitem', { name: 'Tags' }) .should('be.visible') .click() cy.intercept('PUT', '**/remote.php/dav/systemtags-relations/files/**').as('assignTag') // Assign first tag getCollaborativeTagsInput() .type(`{selectAll}${tag1}{enter}`) cy.wait('@assignTag') cy.wait('@getNode') // Assign second tag getCollaborativeTagsInput() .type(`{selectAll}${tag2}{enter}`) cy.wait('@assignTag') cy.wait('@getNode') // Close the sidebar and reload to check the file list closeSidebar() cy.reload() getRowForFile('file.txt') .findByRole('list', { name: /collaborative tags/i }) .children() .should('have.length', 2) .should('contain.text', tag1) .should('contain.text', tag2) }) it('See three assigned tags result in overflow entry', () => { const tag1 = randomBytes(4).toString('base64') const tag2 = randomBytes(4).toString('base64') const tag3 = randomBytes(4).toString('base64') cy.intercept('PROPFIND', `**/remote.php/dav/files/${user.userId}/file.txt`).as('getNode') getRowForFile('file.txt').should('be.visible') triggerActionForFile('file.txt', 'details') cy.wait('@getNode') cy.get('[data-cy-sidebar]') .should('be.visible') .findByRole('button', { name: 'Actions' }) .should('be.visible') .click() cy.findByRole('menuitem', { name: 'Tags' }) .should('be.visible') .click() cy.intercept('PUT', '**/remote.php/dav/systemtags-relations/files/**').as('assignTag') // Assign first tag getCollaborativeTagsInput() .type(`{selectAll}${tag1}{enter}`) cy.wait('@assignTag') cy.wait('@getNode') // Assign second tag getCollaborativeTagsInput() .type(`{selectAll}${tag2}{enter}`) cy.wait('@assignTag') cy.wait('@getNode') // Assign third tag getCollaborativeTagsInput() .type(`{selectAll}${tag3}{enter}`) cy.wait('@assignTag') cy.wait('@getNode') // Close the sidebar and reload to check the file list closeSidebar() cy.reload() getRowForFile('file.txt') .findByRole('list', { name: /collaborative tags/i }) .children() .then(($children) => { expect($children.length).to.eq(4) expect($children.get(0)).be.visible expect($children.get(1)).be.visible // not visible - just for accessibility expect($children.get(2)).not.be.visible expect($children.get(3)).not.be.visible // Text content expect($children.get(1)).contain.text('+2') // Remove the '+x' element const elements = [$children.get(0), ...$children.get().slice(2)] .map((el) => el.innerText.trim()) expect(elements).to.have.members([tag1, tag2, tag3]) }) }) }) function getCollaborativeTagsInput(): Cypress.Chainable<JQuery<HTMLElement>> { return cy.get('[data-cy-sidebar]') .findByRole('combobox', { name: /collaborative tags/i }) .should('be.visible') .should('not.have.attr', 'disabled', { timeout: 5000 }) }