Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104995 Details for
Bug 91559
package request: OmegaT, a GPL Java Computer Assisted Translation tool
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1.6.1_p02-helppath.patch
1.6.1_p02-helppath.patch (text/plain), 2.43 KB, created by
MATSUI Tetsushi
on 2006-12-30 09:05:51 UTC
(
hide
)
Description:
1.6.1_p02-helppath.patch
Filename:
MIME Type:
Creator:
MATSUI Tetsushi
Created:
2006-12-30 09:05:51 UTC
Size:
2.43 KB
patch
obsolete
>--- src/org/omegat/gui/HelpFrame.java.orig 2006-12-29 20:58:36.000000000 +0900 >+++ src/org/omegat/gui/HelpFrame.java 2006-12-30 22:05:33.000000000 +0900 >@@ -209,8 +209,7 @@ > StringBuffer templateText = new StringBuffer(1024); > try { > BufferedReader templateFile = new BufferedReader(new FileReader( >- StaticUtils.installDir() + File.separator >- + OConsts.HELP_DIR + File.separator >+ OConsts.HELP_DIR + File.separator > + OConsts.HELP_LANG_INDEX)); > for (String line = templateFile.readLine(); > line != null; >@@ -228,8 +227,7 @@ > // Get available translations and their versions > StringBuffer translations = new StringBuffer(1024); > translations.append("<table>\n"); >- File docDir = new File( >- StaticUtils.installDir() + File.separator + OConsts.HELP_DIR); >+ File docDir = new File(OConsts.HELP_DIR); > File[] subDirs = docDir.listFiles(); > Arrays.sort(subDirs); // sort on alphabetical order > for (int i = 0; i < subDirs.length; i++) { >@@ -430,8 +428,7 @@ > { > try { > return "file:" // NOI18N >- + (new File( StaticUtils.installDir() >- + File.separator + OConsts.HELP_DIR + File.separator >+ + (new File(OConsts.HELP_DIR + File.separator > + m_language + File.separator + file)).getCanonicalPath(); > } > catch (IOException exception) { >@@ -477,8 +474,7 @@ > private static String getDocVersion(String locale) { > // Check if there's a manual for the specified locale > // (Assume yes if the index file is there) >- File index = new File(StaticUtils.installDir() >- + File.separator + OConsts.HELP_DIR >+ File index = new File(OConsts.HELP_DIR > + File.separator + locale > + File.separator + OConsts.HELP_HOME); > if (!index.exists()) >@@ -486,8 +482,7 @@ > > // Check if the doc dir for the specified locale > // contains a file containing the doc version >- File v = new File(StaticUtils.installDir() >- + File.separator + OConsts.HELP_DIR >+ File v = new File(OConsts.HELP_DIR > + File.separator + locale > + File.separator + "version.properties"); > if (!v.exists())
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 91559
:
73327
|
73328
|
73329
|
73366
|
73375
|
73497
|
73498
|
73601
|
100642
|
100643
|
101450
|
101451
|
101453
|
102379
|
104994
| 104995 |
325896