File: dev-guide.md

package info (click to toggle)
seafile-client 6.1.8-1~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 9,408 kB
  • sloc: cpp: 41,401; ansic: 3,876; python: 253; sh: 206; xml: 17; makefile: 10
file content (33 lines) | stat: -rw-r--r-- 570 bytes parent folder | download | duplicates (3)
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
## C++ Coding Style

Refer to `coding-style.md`

## I18N

### update the .ts files

        make update-ts


### Add a new language

1. add the language to the LANGUAGES variable in `CMakeLists.txt`

        SET(LANGUAGES zh_CN xx_YY)

2. make update-ts

3. add a line to `seafile-client.qrc`

        <file>i18n/seafile_xx_YY.qm</file>

### Add a New Language Contributed by Others

1. add the language to the LANGUAGES variable in `CMakeLists.txt`

        SET(LANGUAGES zh_CN xx_YY)

2. add a line to `seafile-client.qrc`

        <file>i18n/seafile_xx_YY.qm</file>