summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDariusz Luksza <dariusz.luksza@gmail.com>2023-11-09 11:18:38 +0000
committerMatthias Sohn <matthias.sohn@sap.com>2023-11-12 13:31:16 +0100
commit4f18c5095049116350828e9bb499964ea887ac02 (patch)
treec28abccba578d5d811a27488cafde98dd2a69402
parent1b28c2d0018b06ee54de2d1237b5d42d98160706 (diff)
downloadjgit-4f18c5095049116350828e9bb499964ea887ac02.tar.gz
jgit-4f18c5095049116350828e9bb499964ea887ac02.zip
Optimize RefDirectory.getRefsByPrefix(String...)
Currently for file-based repositories JGit will go over all refs in the repository forach `ref-prefix` listed in the `ls-refs` command in git protocol v2 request. Native git, uses a different approach, where all refs are read once and then for each ref, all `ref-prefix` filter values are checked in one pass. This change implements this approach in JGit only in the `RefDirectory` backend. And makes `ref-prefix` filtering ~40% faster for repositories with packed refs. Different implementations were tested on a synthetic file repository with 10k refs in `refs/heads/` and `290k` in `refs/changes`. Before testing `git pack-refs` command was executed. All results are in seconds. Current Impl: 39.340 37.093 35.996 Nested for loops: 25.077 24.742 24.748 Nested streams: 24.827 24.890 27.525 Parallel stream + stream: 23.357 23.318 23.174 Nested parallel streams: 23.490 23.318 23.317 Stream + for loop: 23.147 23.210 23.126 Parallel stream + for loop: 23.317 23.423 22.847 The elapsed time was measured around `getRefByPrefix` call in `Uploadapack.getFilteredRefs(Collection<String>)` (around lines 952 and 954). For testing a modified version of `UploadPackTest.testV2LsRefsRefPrefix()` was used. The modifications here included: * shadowing protected `repo` variable with `FileRepository` pointing to the synthetic repo with 300k refs described above, * mimicking the git client clone request by adding `ref-prefix HEAD`, `ref-prefix refs/heads/` and `ref-prefix refs/tags/` Based on the above results, the implementation with parallel stream and stream was selected. Bug: 578550 Signed-off-by: Dariusz Luksza <dariusz.luksza@gmail.com> Change-Id: I6416846c074b611ff6ec9d351dbafcfbcaf68e66
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java13
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/util/StringUtilsTest.java19
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java11
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java38
4 files changed, 81 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java
index 619e585a90..2bafde65d3 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/RefDirectoryTest.java
@@ -51,6 +51,7 @@ import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.revwalk.RevCommit;
import org.eclipse.jgit.revwalk.RevTag;
import org.eclipse.jgit.util.FS;
+import org.eclipse.jgit.util.StringUtils;
import org.junit.Before;
import org.junit.Test;
@@ -1349,6 +1350,18 @@ public class RefDirectoryTest extends LocalDiskRepositoryTestCase {
assertEquals(Storage.LOOSE, ref.getStorage());
}
+ @Test
+ public void testCommonRefPrefix() {
+ assertEquals("", StringUtils.commonPrefix());
+ assertEquals("HEAD", StringUtils.commonPrefix("HEAD"));
+ assertEquals("", StringUtils.commonPrefix("HEAD", ""));
+ assertEquals("", StringUtils.commonPrefix("HEAD", "refs/heads/"));
+ assertEquals("refs/heads/",
+ StringUtils.commonPrefix("refs/heads/master", "refs/heads/"));
+ assertEquals("refs/heads/",
+ StringUtils.commonPrefix("refs/heads/", "refs/heads/main"));
+ }
+
void writePackedRef(String name, AnyObjectId id) throws IOException {
writePackedRefs(id.name() + " " + name + "\n");
}
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/StringUtilsTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/StringUtilsTest.java
index aa7247e105..015da164c3 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/StringUtilsTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/StringUtilsTest.java
@@ -153,4 +153,23 @@ public class StringUtilsTest {
() -> StringUtils.parseLongWithSuffix("8000000000000000000G",
false));
}
+
+ @Test
+ public void testCommonPrefix() {
+ assertEquals("", StringUtils.commonPrefix((String[]) null));
+ assertEquals("", StringUtils.commonPrefix(new String[] {}));
+ assertEquals("", StringUtils.commonPrefix(new String[] { null }));
+ assertEquals("", StringUtils.commonPrefix(null, null));
+ assertEquals("", StringUtils.commonPrefix("", ""));
+ assertEquals("", StringUtils.commonPrefix(null, ""));
+ assertEquals("", StringUtils.commonPrefix("abcd", null, null));
+ assertEquals("", StringUtils.commonPrefix(null, null, "abcd"));
+ assertEquals("", StringUtils.commonPrefix("", "abcd"));
+ assertEquals("", StringUtils.commonPrefix("abcd", "efgh"));
+ assertEquals("abcd", StringUtils.commonPrefix("abcd"));
+ assertEquals("ab", StringUtils.commonPrefix("abcd", "ab"));
+ assertEquals("abcd", StringUtils.commonPrefix("abcd", "abcdefgh"));
+ assertEquals("foo bar ",
+ StringUtils.commonPrefix("foo bar 42", "foo bar 24"));
+ }
}
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java
index 88d5d652e0..a00b80bb7d 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java
@@ -50,6 +50,7 @@ import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.locks.ReentrantLock;
+import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.eclipse.jgit.annotations.NonNull;
@@ -81,6 +82,7 @@ import org.eclipse.jgit.util.IO;
import org.eclipse.jgit.util.RawParseUtils;
import org.eclipse.jgit.util.RefList;
import org.eclipse.jgit.util.RefMap;
+import org.eclipse.jgit.util.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -392,6 +394,15 @@ public class RefDirectory extends RefDatabase {
}
@Override
+ public List<Ref> getRefsByPrefix(String... prefixes) throws IOException {
+ return getRefsByPrefix(StringUtils.commonPrefix(prefixes))
+ .parallelStream()
+ .filter(ref -> Stream.of(prefixes)
+ .anyMatch(ref.getName()::startsWith))
+ .collect(Collectors.toUnmodifiableList());
+ }
+
+ @Override
public List<Ref> getAdditionalRefs() throws IOException {
List<Ref> ret = new LinkedList<>();
for (String name : additionalRefsNames) {
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java
index 274706042b..e1567c1864 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java
@@ -14,6 +14,7 @@ import java.text.MessageFormat;
import java.util.Collection;
import org.eclipse.jgit.annotations.NonNull;
+import org.eclipse.jgit.annotations.Nullable;
import org.eclipse.jgit.internal.JGitText;
import org.eclipse.jgit.lib.Constants;
@@ -22,6 +23,8 @@ import org.eclipse.jgit.lib.Constants;
*/
public final class StringUtils {
+ private static final String EMPTY = ""; //$NON-NLS-1$
+
private static final long KiB = 1024;
private static final long MiB = 1024 * KiB;
@@ -463,4 +466,39 @@ public final class StringUtils {
}
return String.valueOf(value);
}
+
+ /**
+ * Compares Strings and returns the initial sequence of characters that is
+ * common to all of them.
+ *
+ * @param strings
+ * Strings to consider
+ * @return common prefix of all Strings
+ * @since 6.8
+ */
+ public static @NonNull String commonPrefix(@Nullable String... strings) {
+ if (strings == null || strings.length == 0) {
+ return EMPTY;
+ }
+ if (strings.length == 1) {
+ return strings[0] == null ? EMPTY : strings[0];
+ }
+ String first = strings[0];
+ if (first == null) {
+ return EMPTY;
+ }
+ for (int i = 0; i < first.length(); i++) {
+ char currentChar = first.charAt(i);
+ for (int j = 1; j < strings.length; j++) {
+ String str = strings[j];
+ if (str == null) {
+ return EMPTY;
+ }
+ if (str.length() == i || currentChar != str.charAt(i)) {
+ return str.substring(0, i);
+ }
+ }
+ }
+ return first;
+ }
}
table29 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/l10n/et_EE/contacts.po
blob: a3886778c6268effa4a9446df07e3b4bb54a63f0 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# 
# Translators:
# Rivo Zängov <eraser@eraser.ee>, 2011, 2012.
msgid ""
msgstr ""
"Project-Id-Version: ownCloud\n"
"Report-Msgid-Bugs-To: http://bugs.owncloud.org/\n"
"POT-Creation-Date: 2012-08-21 02:03+0200\n"
"PO-Revision-Date: 2012-08-21 00:04+0000\n"
"Last-Translator: I Robot <thomas.mueller@tmit.eu>\n"
"Language-Team: Estonian (Estonia) (http://www.transifex.com/projects/p/owncloud/language/et_EE/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: et_EE\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"

#: ajax/addressbook/activate.php:24 ajax/addressbook/update.php:32
msgid "Error (de)activating addressbook."
msgstr "Viga aadressiraamatu (de)aktiveerimisel."

#: ajax/addressbook/delete.php:31 ajax/addressbook/update.php:20
#: ajax/contact/addproperty.php:42 ajax/contact/delete.php:31
#: ajax/contact/saveproperty.php:39
msgid "id is not set."
msgstr "ID on määramata."

#: ajax/addressbook/update.php:24
msgid "Cannot update addressbook with an empty name."
msgstr "Tühja nimega aadressiraamatut ei saa uuendada."

#: ajax/addressbook/update.php:28
msgid "Error updating addressbook."
msgstr "Viga aadressiraamatu uuendamisel."

#: ajax/categories/categoriesfor.php:17
msgid "No ID provided"
msgstr "ID-d pole sisestatud"

#: ajax/categories/categoriesfor.php:34
msgid "Error setting checksum."
msgstr "Viga kontrollsumma määramisel."

#: ajax/categories/delete.php:19
msgid "No categories selected for deletion."
msgstr "Kustutamiseks pole valitud ühtegi kategooriat."

#: ajax/categories/delete.php:26
msgid "No address books found."
msgstr "Ei leitud ühtegi aadressiraamatut."

#: ajax/categories/delete.php:34
msgid "No contacts found."
msgstr "Ühtegi kontakti ei leitud."

#: ajax/contact/add.php:47
msgid "There was an error adding the contact."
msgstr "Konktakti lisamisel tekkis viga."

#: ajax/contact/addproperty.php:39 ajax/contact/saveproperty.php:36
msgid "element name is not set."
msgstr "elemendi nime pole määratud."

#: ajax/contact/addproperty.php:46
msgid "Could not parse contact: "
msgstr ""

#: ajax/contact/addproperty.php:56
msgid "Cannot add empty property."
msgstr "Tühja omadust ei saa lisada."

#: ajax/contact/addproperty.php:67
msgid "At least one of the address fields has to be filled out."
msgstr "Vähemalt üks aadressiväljadest peab olema täidetud."

#: ajax/contact/addproperty.php:76
msgid "Trying to add duplicate property: "
msgstr "Proovitakse lisada topeltomadust: "

#: ajax/contact/addproperty.php:144
msgid "Error adding contact property: "
msgstr ""

#: ajax/contact/deleteproperty.php:37
msgid "Information about vCard is incorrect. Please reload the page."
msgstr "Visiitkaardi info pole korrektne. Palun lae leht uuesti."

#: ajax/contact/deleteproperty.php:44
msgid "Error deleting contact property."
msgstr "Viga konktaki korralikul kustutamisel."

#: ajax/contact/details.php:31
msgid "Missing ID"
msgstr "Puudub ID"

#: ajax/contact/details.php:36
msgid "Error parsing VCard for ID: \""
msgstr "Viga VCard-ist ID parsimisel: \""

#: ajax/contact/saveproperty.php:42
msgid "checksum is not set."
msgstr "kontrollsummat pole määratud."

#: ajax/contact/saveproperty.php:62
msgid "Information about vCard is incorrect. Please reload the page: "
msgstr "vCard info pole korrektne. Palun lae lehekülg uuesti: "

#: ajax/contact/saveproperty.php:69
msgid "Something went FUBAR. "
msgstr "Midagi läks tõsiselt metsa."

#: ajax/contact/saveproperty.php:144
msgid "Error updating contact property."
msgstr "Viga konktaki korralikul uuendamisel."

#: ajax/currentphoto.php:30 ajax/oc_photo.php:28 ajax/uploadphoto.php:36
#: ajax/uploadphoto.php:68
msgid "No contact ID was submitted."
msgstr "Kontakti ID-d pole sisestatud."

#: ajax/currentphoto.php:36
msgid "Error reading contact photo."
msgstr "Viga kontakti foto lugemisel."

#: ajax/currentphoto.php:48
msgid "Error saving temporary file."
msgstr "Viga ajutise faili salvestamisel."

#: ajax/currentphoto.php:51
msgid "The loading photo is not valid."
msgstr "Laetav pilt pole korrektne pildifail."

#: ajax/editname.php:31
msgid "Contact ID is missing."
msgstr "Kontakti ID puudub."

#: ajax/oc_photo.php:32
msgid "No photo path was submitted."
msgstr "Foto asukohta pole määratud."

#: ajax/oc_photo.php:39
msgid "File doesn't exist:"
msgstr "Faili pole olemas:"

#: ajax/oc_photo.php:44 ajax/oc_photo.php:47
msgid "Error loading image."
msgstr "Viga pildi laadimisel."

#: ajax/savecrop.php:69
msgid "Error getting contact object."
msgstr "Viga kontakti objekti hankimisel."

#: ajax/savecrop.php:79
msgid "Error getting PHOTO property."
msgstr "Viga PHOTO omaduse hankimisel."

#: ajax/savecrop.php:98
msgid "Error saving contact."
msgstr "Viga kontakti salvestamisel."

#: ajax/savecrop.php:109
msgid "Error resizing image"
msgstr "Viga pildi suuruse muutmisel"

#: ajax/savecrop.php:112
msgid "Error cropping image"
msgstr "Viga pildi lõikamisel"

#: ajax/savecrop.php:115
msgid "Error creating temporary image"
msgstr "Viga ajutise pildi loomisel"

#: ajax/savecrop.php:118
msgid "Error finding image: "
msgstr "Viga pildi leidmisel: "

#: ajax/uploadimport.php:44 ajax/uploadimport.php:76
msgid "Error uploading contacts to storage."
msgstr "Viga kontaktide üleslaadimisel kettale."

#: ajax/uploadimport.php:61 ajax/uploadphoto.php:77
msgid "There is no error, the file uploaded with success"
msgstr "Ühtegi tõrget polnud, fail on üles laetud"

#: ajax/uploadimport.php:62 ajax/uploadphoto.php:78
msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini"
msgstr "Üleslaetud fail ületab php.ini failis määratud upload_max_filesize suuruse"

#: ajax/uploadimport.php:63 ajax/uploadphoto.php:79
msgid ""
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in "
"the HTML form"
msgstr "Üleslaetud fail ületab MAX_FILE_SIZE suuruse, mis on HTML vormi jaoks määratud"

#: ajax/uploadimport.php:64 ajax/uploadphoto.php:80
msgid "The uploaded file was only partially uploaded"
msgstr "Fail laeti üles ainult osaliselt"

#: ajax/uploadimport.php:65 ajax/uploadphoto.php:81
msgid "No file was uploaded"
msgstr "Ühtegi faili ei laetud üles"

#: ajax/uploadimport.php:66 ajax/uploadphoto.php:82
msgid "Missing a temporary folder"
msgstr "Ajutiste failide kaust puudub"

#: ajax/uploadphoto.php:59 ajax/uploadphoto.php:109
msgid "Couldn't save temporary image: "
msgstr "Ajutise pildi salvestamine ebaõnnestus: "

#: ajax/uploadphoto.php:62 ajax/uploadphoto.php:112
msgid "Couldn't load temporary image: "
msgstr "Ajutise pildi laadimine ebaõnnestus: "

#: ajax/uploadphoto.php:71
msgid "No file was uploaded. Unknown error"
msgstr "Ühtegi faili ei laetud üles. Tundmatu viga"

#: appinfo/app.php:21
msgid "Contacts"
msgstr "Kontaktid"

#: js/contacts.js:71
msgid "Sorry, this functionality has not been implemented yet"
msgstr "Vabandust, aga see funktsioon pole veel valmis"

#: js/contacts.js:71
msgid "Not implemented"
msgstr "Pole implementeeritud"

#: js/contacts.js:76
msgid "Couldn't get a valid address."
msgstr "Kehtiva aadressi hankimine ebaõnnestus"

#: js/contacts.js:76 js/contacts.js:365 js/contacts.js:381 js/contacts.js:393
#: js/contacts.js:675 js/contacts.js:715 js/contacts.js:741 js/contacts.js:852
#: js/contacts.js:858 js/contacts.js:870 js/contacts.js:904
#: js/contacts.js:1167 js/contacts.js:1175 js/contacts.js:1184
#: js/contacts.js:1219 js/contacts.js:1251 js/contacts.js:1263
#: js/contacts.js:1286 js/contacts.js:1441 js/contacts.js:1476
#: js/contacts.js:1496 js/settings.js:26 js/settings.js:43 js/settings.js:68
msgid "Error"
msgstr "Viga"

#: js/contacts.js:715
msgid "This property has to be non-empty."
msgstr "See omadus ei tohi olla tühi."

#: js/contacts.js:741
msgid "Couldn't serialize elements."
msgstr ""

#: js/contacts.js:852 js/contacts.js:870
msgid ""
"'deleteProperty' called without type argument. Please report at "
"bugs.owncloud.org"
msgstr ""

#: js/contacts.js:886
msgid "Edit name"
msgstr "Muuda nime"

#: js/contacts.js:1167
msgid "No files selected for upload."
msgstr "Üleslaadimiseks pole faile valitud."

#: js/contacts.js:1175
msgid ""
"The file you are trying to upload exceed the maximum size for file uploads "
"on this server."
msgstr ""

#: js/contacts.js:1238
msgid "Error loading profile picture."
msgstr ""

#: js/contacts.js:1332 js/contacts.js:1352 js/contacts.js:1391
msgid "Select type"
msgstr "Vali tüüp"

#: js/contacts.js:1410
msgid ""
"Some contacts are marked for deletion, but not deleted yet. Please wait for "
"them to be deleted."
msgstr ""

#: js/contacts.js:1481
msgid "Do you want to merge these address books?"
msgstr ""

#: js/loader.js:49
msgid "Result: "
msgstr "Tulemus: "

#: js/loader.js:49
msgid " imported, "
msgstr " imporditud, "

#: js/loader.js:49
msgid " failed."
msgstr " ebaõnnestus."

#: js/settings.js:68
msgid "Displayname cannot be empty."
msgstr ""

#: lib/app.php:36
msgid "Addressbook not found: "
msgstr ""

#: lib/app.php:52
msgid "This is not your addressbook."
msgstr "See pole sinu aadressiraamat."

#: lib/app.php:71
msgid "Contact could not be found."
msgstr "Kontakti ei leitud."

#: lib/app.php:115 templates/part.contact.php:116
msgid "Address"
msgstr "Aadress"

#: lib/app.php:116
msgid "Telephone"
msgstr "Telefon"

#: lib/app.php:117 templates/part.contact.php:115
msgid "Email"
msgstr "E-post"

#: lib/app.php:118 templates/part.contact.php:38 templates/part.contact.php:39
#: templates/part.contact.php:111
msgid "Organization"
msgstr "Organisatsioon"

#: lib/app.php:130 lib/app.php:137 lib/app.php:147 lib/app.php:200
msgid "Work"
msgstr "Töö"

#: lib/app.php:131 lib/app.php:135 lib/app.php:148
msgid "Home"
msgstr "Kodu"

#: lib/app.php:136
msgid "Mobile"
msgstr "Mobiil"

#: lib/app.php:138
msgid "Text"
msgstr "Tekst"

#: lib/app.php:139
msgid "Voice"
msgstr "Hääl"

#: lib/app.php:140
msgid "Message"
msgstr "Sõnum"

#: lib/app.php:141
msgid "Fax"
msgstr "Faks"

#: lib/app.php:142
msgid "Video"
msgstr "Video"

#: lib/app.php:143
msgid "Pager"
msgstr "Piipar"

#: lib/app.php:149
msgid "Internet"
msgstr "Internet"

#: lib/app.php:186 templates/part.contact.php:44
#: templates/part.contact.php:113
msgid "Birthday"
msgstr "Sünnipäev"

#: lib/app.php:187
msgid "Business"
msgstr ""

#: lib/app.php:188
msgid "Call"
msgstr ""

#: lib/app.php:189
msgid "Clients"
msgstr ""

#: lib/app.php:190
msgid "Deliverer"
msgstr ""

#: lib/app.php:191
msgid "Holidays"
msgstr ""

#: lib/app.php:192
msgid "Ideas"
msgstr ""

#: lib/app.php:193
msgid "Journey"
msgstr ""

#: lib/app.php:194
msgid "Jubilee"
msgstr ""

#: lib/app.php:195
msgid "Meeting"
msgstr ""

#: lib/app.php:196
msgid "Other"
msgstr ""

#: lib/app.php:197
msgid "Personal"
msgstr ""

#: lib/app.php:198
msgid "Projects"
msgstr ""

#: lib/app.php:199
msgid "Questions"
msgstr ""

#: lib/hooks.php:102
msgid "{name}'s Birthday"
msgstr "{name} sünnipäev"

#: lib/search.php:15
msgid "Contact"
msgstr "Kontakt"

#: templates/index.php:14
msgid "Add Contact"
msgstr "Lisa kontakt"

#: templates/index.php:15 templates/index.php:16 templates/part.import.php:17
msgid "Import"
msgstr "Impordi"

#: templates/index.php:18
msgid "Settings"
msgstr ""

#: templates/index.php:18 templates/settings.php:9
msgid "Addressbooks"
msgstr "Aadressiraamatud"

#: templates/index.php:36 templates/part.import.php:24
msgid "Close"
msgstr "Sule"

#: templates/index.php:37
msgid "Keyboard shortcuts"
msgstr ""

#: templates/index.php:39
msgid "Navigation"
msgstr ""

#: templates/index.php:42
msgid "Next contact in list"
msgstr ""

#: templates/index.php:44
msgid "Previous contact in list"
msgstr ""

#: templates/index.php:46
msgid "Expand/collapse current addressbook"
msgstr ""

#: templates/index.php:48
msgid "Next addressbook"
msgstr ""

#: templates/index.php:50
msgid "Previous addressbook"
msgstr ""

#: templates/index.php:54
msgid "Actions"
msgstr ""

#: templates/index.php:57
msgid "Refresh contacts list"
msgstr ""

#: templates/index.php:59
msgid "Add new contact"
msgstr ""

#: templates/index.php:61
msgid "Add new addressbook"
msgstr ""

#: templates/index.php:63
msgid "Delete current contact"
msgstr ""

#: templates/part.contact.php:17
msgid "Drop photo to upload"
msgstr "Lohista üleslaetav foto siia"

#: templates/part.contact.php:19
msgid "Delete current photo"
msgstr "Kustuta praegune foto"

#: templates/part.contact.php:20
msgid "Edit current photo"
msgstr "Muuda praegust pilti"

#: templates/part.contact.php:21
msgid "Upload new photo"
msgstr "Lae üles uus foto"

#: templates/part.contact.php:22
msgid "Select photo from ownCloud"
msgstr "Vali foto ownCloudist"

#: templates/part.contact.php:34
msgid "Format custom, Short name, Full name, Reverse or Reverse with comma"
msgstr "Kohandatud vorming, Lühike nimi, Täielik nimi, vastupidine või vastupidine komadega"

#: templates/part.contact.php:35
msgid "Edit name details"
msgstr "Muuda nime üksikasju"

#: templates/part.contact.php:39 templates/part.contact.php:41
#: templates/part.contact.php:43 templates/part.contact.php:45
#: templates/part.contact.php:49 templates/settings.php:36
msgid "Delete"
msgstr "Kustuta"

#: templates/part.contact.php:40 templates/part.contact.php:112
msgid "Nickname"
msgstr "Hüüdnimi"

#: templates/part.contact.php:41
msgid "Enter nickname"
msgstr "Sisesta hüüdnimi"

#: templates/part.contact.php:42 templates/part.contact.php:118
msgid "Web site"
msgstr ""

#: templates/part.contact.php:43
msgid "http://www.somesite.com"
msgstr ""

#: templates/part.contact.php:43
msgid "Go to web site"
msgstr ""

#: templates/part.contact.php:45
msgid "dd-mm-yyyy"
msgstr "dd.mm.yyyy"

#: templates/part.contact.php:46 templates/part.contact.php:119
msgid "Groups"
msgstr "Grupid"

#: templates/part.contact.php:48
msgid "Separate groups with commas"
msgstr "Eralda grupid komadega"

#: templates/part.contact.php:49
msgid "Edit groups"
msgstr "Muuda gruppe"

#: templates/part.contact.php:62 templates/part.contact.php:76
msgid "Preferred"
msgstr "Eelistatud"

#: templates/part.contact.php:63
msgid "Please specify a valid email address."
msgstr "Palun sisesta korrektne e-posti aadress."

#: templates/part.contact.php:63
msgid "Enter email address"
msgstr "Sisesta e-posti aadress"

#: templates/part.contact.php:67
msgid "Mail to address"
msgstr "Kiri aadressile"

#: templates/part.contact.php:68
msgid "Delete email address"
msgstr "Kustuta e-posti aadress"

#: templates/part.contact.php:77
msgid "Enter phone number"
msgstr "Sisesta telefoninumber"

#: templates/part.contact.php:81
msgid "Delete phone number"
msgstr "Kustuta telefoninumber"

#: templates/part.contact.php:91
msgid "View on map"
msgstr "Vaata kaardil"

#: templates/part.contact.php:91
msgid "Edit address details"
msgstr "Muuda aaressi infot"

#: templates/part.contact.php:102
msgid "Add notes here."
msgstr "Lisa märkmed siia."

#: templates/part.contact.php:109
msgid "Add field"
msgstr "Lisa väli"

#: templates/part.contact.php:114
msgid "Phone"
msgstr "Telefon"

#: templates/part.contact.php:117
msgid "Note"
msgstr "Märkus"

#: templates/part.contact.php:122
msgid "Download contact"
msgstr "Lae kontakt alla"

#: templates/part.contact.php:123
msgid "Delete contact"
msgstr "Kustuta kontakt"

#: templates/part.cropphoto.php:65
msgid "The temporary image has been removed from cache."
msgstr "Ajutine pilt on puhvrist eemaldatud."

#: templates/part.edit_address_dialog.php:6
msgid "Edit address"
msgstr "Muuda aadressi"

#: templates/part.edit_address_dialog.php:10
msgid "Type"
msgstr "Tüüp"

#: templates/part.edit_address_dialog.php:18
#: templates/part.edit_address_dialog.php:21
msgid "PO Box"
msgstr "Postkontori postkast"

#: templates/part.edit_address_dialog.php:24
msgid "Street address"
msgstr ""

#: templates/part.edit_address_dialog.php:27
msgid "Street and number"
msgstr ""

#: templates/part.edit_address_dialog.php:30
msgid "Extended"
msgstr "Laiendatud"

#: templates/part.edit_address_dialog.php:33
msgid "Apartment number etc."
msgstr ""

#: templates/part.edit_address_dialog.php:36
#: templates/part.edit_address_dialog.php:39
msgid "City"
msgstr "Linn"

#: templates/part.edit_address_dialog.php:42
msgid "Region"
msgstr "Piirkond"

#: templates/part.edit_address_dialog.php:45
msgid "E.g. state or province"
msgstr ""

#: templates/part.edit_address_dialog.php:48
msgid "Zipcode"
msgstr "Postiindeks"

#: templates/part.edit_address_dialog.php:51
msgid "Postal code"
msgstr ""

#: templates/part.edit_address_dialog.php:54
#: templates/part.edit_address_dialog.php:57
msgid "Country"
msgstr "Riik"

#: templates/part.edit_name_dialog.php:16
msgid "Addressbook"
msgstr "Aadressiraamat"

#: templates/part.edit_name_dialog.php:23
msgid "Hon. prefixes"
msgstr "Eesliited"

#: templates/part.edit_name_dialog.php:27
msgid "Miss"
msgstr "Preili"

#: templates/part.edit_name_dialog.php:28
msgid "Ms"
msgstr "Pr"

#: templates/part.edit_name_dialog.php:29
msgid "Mr"
msgstr "Hr"

#: templates/part.edit_name_dialog.php:30
msgid "Sir"
msgstr "Härra"

#: templates/part.edit_name_dialog.php:31
msgid "Mrs"
msgstr "Proua"

#: templates/part.edit_name_dialog.php:32
msgid "Dr"
msgstr "Dr"

#: templates/part.edit_name_dialog.php:35
msgid "Given name"
msgstr "Eesnimi"

#: templates/part.edit_name_dialog.php:37
msgid "Additional names"
msgstr "Lisanimed"

#: templates/part.edit_name_dialog.php:39
msgid "Family name"
msgstr "Perekonnanimi"

#: templates/part.edit_name_dialog.php:41
msgid "Hon. suffixes"
msgstr "Järelliited"

#: templates/part.edit_name_dialog.php:45
msgid "J.D."
msgstr "J.D."

#: templates/part.edit_name_dialog.php:46
msgid "M.D."
msgstr "M.D."

#: templates/part.edit_name_dialog.php:47
msgid "D.O."
msgstr "D.O."

#: templates/part.edit_name_dialog.php:48
msgid "D.C."
msgstr "D.C."

#: templates/part.edit_name_dialog.php:49
msgid "Ph.D."
msgstr "Ph.D."

#: templates/part.edit_name_dialog.php:50
msgid "Esq."
msgstr "Esq."

#: templates/part.edit_name_dialog.php:51
msgid "Jr."
msgstr "Jr."

#: templates/part.edit_name_dialog.php:52
msgid "Sn."
msgstr "Senior."

#: templates/part.import.php:1
msgid "Import a contacts file"
msgstr "Impordi kontaktifail"

#: templates/part.import.php:6
msgid "Please choose the addressbook"
msgstr "Palun vali aadressiraamat"

#: templates/part.import.php:10
msgid "create a new addressbook"
msgstr "loo uus aadressiraamat"

#: templates/part.import.php:15
msgid "Name of new addressbook"
msgstr "Uue aadressiraamatu nimi"

#: templates/part.import.php:20
msgid "Importing contacts"
msgstr "Kontaktide importimine"

#: templates/part.no_contacts.php:3
msgid "You have no contacts in your addressbook."
msgstr "Sinu aadressiraamatus pole ühtegi kontakti."

#: templates/part.no_contacts.php:5
msgid "Add contact"
msgstr "Lisa kontakt"

#: templates/part.no_contacts.php:6
msgid "Configure addressbooks"
msgstr "Seadista aadressiraamatuid"

#: templates/part.selectaddressbook.php:1
msgid "Select Address Books"
msgstr ""

#: templates/part.selectaddressbook.php:27
msgid "Enter name"
msgstr ""

#: templates/part.selectaddressbook.php:29
msgid "Enter description"
msgstr ""

#: templates/settings.php:3
msgid "CardDAV syncing addresses"
msgstr "CardDAV sünkroniseerimise aadressid"

#: templates/settings.php:3
msgid "more info"
msgstr "lisainfo"

#: templates/settings.php:5
msgid "Primary address (Kontact et al)"
msgstr "Peamine aadress"

#: templates/settings.php:7
msgid "iOS/OS X"
msgstr "iOS/OS X"

#: templates/settings.php:20
msgid "Show CardDav link"
msgstr ""

#: templates/settings.php:23
msgid "Show read-only VCF link"
msgstr ""

#: templates/settings.php:26
msgid "Share"
msgstr ""

#: templates/settings.php:29
msgid "Download"
msgstr "Lae alla"

#: templates/settings.php:33
msgid "Edit"
msgstr "Muuda"

#: templates/settings.php:43
msgid "New Address Book"
msgstr "Uus aadressiraamat"

#: templates/settings.php:44
msgid "Name"
msgstr ""

#: templates/settings.php:45
msgid "Description"
msgstr ""

#: templates/settings.php:46
msgid "Save"
msgstr "Salvesta"

#: templates/settings.php:47
msgid "Cancel"
msgstr "Loobu"

#: templates/settings.php:52
msgid "More..."
msgstr ""